From 144a3ddfb55fbf17cec4baaa73542664d68a3b05 Mon Sep 17 00:00:00 2001 From: Loic Guegan Date: Sat, 31 Dec 2022 11:47:56 +0100 Subject: Debug comments$ --- examples/wxWidgets/main.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'examples') diff --git a/examples/wxWidgets/main.cpp b/examples/wxWidgets/main.cpp index 6a9cf6c..35a3100 100644 --- a/examples/wxWidgets/main.cpp +++ b/examples/wxWidgets/main.cpp @@ -29,9 +29,10 @@ private: void OnPaint(wxPaintEvent &event) { wxPaintDC current_dc(this); dc = ¤t_dc; - wxSize fontsize=dc->GetTextExtent("a"); - wxLogDebug("width=%d, height=%d",fontsize.x,fontsize.y); + // Just in case you want to fetch font sizes to configure comment text: + //wxSize fontsize=dc->GetTextExtent("a"); + //wxLogDebug("width=%d, height=%d",fontsize.x,fontsize.y); // Refresh canvas size wxSize sz = GetClientSize(); -- cgit v1.2.3