]> git.saurik.com Git - wxWidgets.git/commitdiff
Return something halfway reasonable from GetCharWidth/GetCharHeight because the gener...
authorDavid Elliott <dfe@tgwbd.org>
Fri, 10 Aug 2007 20:03:05 +0000 (20:03 +0000)
committerDavid Elliott <dfe@tgwbd.org>
Fri, 10 Aug 2007 20:03:05 +0000 (20:03 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48014 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/cocoa/window.mm

index 2e3e230739a7673e2888234c5c4f25c7f346e681..24b9d1c64c30f2dcf05fdef569fcbd24f9b77ba7 100644 (file)
@@ -1140,13 +1140,13 @@ wxString wxWindow::GetLabel() const
 int wxWindow::GetCharHeight() const
 {
     // TODO
-    return 0;
+    return 10;
 }
 
 int wxWindow::GetCharWidth() const
 {
     // TODO
-    return 0;
+    return 5;
 }
 
 void wxWindow::GetTextExtent(const wxString& string, int *x, int *y,