X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/f38374d0d7aa865e9bbe8ee61b75b94ffcdfb220..5fe143dfdfa19c4fe8e15abfa933940fb51662e5:/src/os2/checkbox.cpp diff --git a/src/os2/checkbox.cpp b/src/os2/checkbox.cpp index c4a3b2f099..b98fff5589 100644 --- a/src/os2/checkbox.cpp +++ b/src/os2/checkbox.cpp @@ -23,10 +23,8 @@ // macros // ---------------------------------------------------------------------------- -#if !USE_SHARED_LIBRARY IMPLEMENT_DYNAMIC_CLASS(wxCheckBox, wxControl) IMPLEMENT_DYNAMIC_CLASS(wxBitmapCheckBox, wxCheckBox) -#endif // ============================================================================ // implementation @@ -96,7 +94,7 @@ void wxCheckBox::SetLabel(const wxString& label) // TODO } -wxSize wxCheckBox::DoGetBestSize() +wxSize wxCheckBox::DoGetBestSize() const { int wCheckbox, hCheckbox; @@ -207,7 +205,7 @@ bool wxBitmapCheckBox::Create(wxWindow *parent, wxWindowID id, const wxBitmap *l checkWidth = -1 ; checkHeight = -1 ; - long msStyle = CHECK_FLAGS; +// long msStyle = CHECK_FLAGS; HWND wx_button = 0; // TODO: Create the bitmap checkbox