aboutsummaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorLoic Guegan <manzerbredes@mailbox.org>2022-12-31 11:47:56 +0100
committerLoic Guegan <manzerbredes@mailbox.org>2022-12-31 11:47:56 +0100
commit144a3ddfb55fbf17cec4baaa73542664d68a3b05 (patch)
tree43add38a2cd05d52349a6561bd4d9ed8df94f862 /examples
parent2bb6730df8094c89af5a07d394fc02c43aea24eb (diff)
Debug comments$
Diffstat (limited to 'examples')
-rw-r--r--examples/wxWidgets/main.cpp5
1 files changed, 3 insertions, 2 deletions
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 = &current_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();