]> git.saurik.com Git - wxWidgets.git/blobdiff - src/os2/button.cpp
Added OnDragOver returning wxDragCopy so text can be dropped from IE 6.
[wxWidgets.git] / src / os2 / button.cpp
index f77b45338a8629c5d0e1b2eb77fb3891ee2445b8..83301398f7ffbed054116a2f22aa8c8130004fe8 100644 (file)
@@ -19,6 +19,7 @@
     #include "wx/bmpbuttn.h"
     #include "wx/settings.h"
     #include "wx/dcscreen.h"
+    #include "wx/scrolwin.h"
 #endif
 
 #include "wx/os2/private.h"
@@ -179,7 +180,7 @@ wxSize wxButton::GetDefaultSize()
     {
         wxScreenDC                  vDc;
 
-        vDc.SetFont(wxSystemSettings::GetSystemFont(wxSYS_DEFAULT_GUI_FONT));
+        vDc.SetFont(wxSystemSettings::GetFont(wxSYS_DEFAULT_GUI_FONT));
 
         //
         // The size of a standard button in the dialog units is 50x14,