]> git.saurik.com Git - wxWidgets.git/blobdiff - src/os2/control.cpp
1. wxCalendarCtrl
[wxWidgets.git] / src / os2 / control.cpp
index 57cfe9e6dfb7572c138d2cff21edace2e34a5629..a0eaf122430cf76ec530c368df34634807d637b4 100644 (file)
 #include "wx/os2/private.h"
 #include "wx/control.h"
 
-#if !USE_SHARED_LIBRARY
 IMPLEMENT_ABSTRACT_CLASS(wxControl, wxWindow)
 
 BEGIN_EVENT_TABLE(wxControl, wxWindow)
     EVT_ERASE_BACKGROUND(wxControl::OnEraseBackground)
 END_EVENT_TABLE()
-#endif
 
 // Item members
 wxControl::wxControl()
@@ -81,7 +79,7 @@ bool wxControl::OS2CreateControl(const wxChar *classname, WXDWORD style)
     return TRUE;
 }
 
-wxSize wxControl::DoGetBestSize()
+wxSize wxControl::DoGetBestSize() const
 {
     return wxSize(DEFAULT_ITEM_WIDTH, DEFAULT_ITEM_HEIGHT);
 }