X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/04701dd94f691292563a1f0eb19933819b1c5fe9..6342bd1ab36c1957684c00d408d09fba65d33db6:/src/os2/spinbutt.cpp diff --git a/src/os2/spinbutt.cpp b/src/os2/spinbutt.cpp index 554c1a692c..9ad28c1b3a 100644 --- a/src/os2/spinbutt.cpp +++ b/src/os2/spinbutt.cpp @@ -9,6 +9,11 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// +#ifdef __GNUG__ + #pragma implementation "spinbutt.h" + #pragma implementation "spinbutbase.h" +#endif + // For compilers that support precompilation, includes "wx.h". #include "wx/wxprec.h" @@ -22,6 +27,9 @@ #include "wx/spinbutt.h" + +IMPLEMENT_DYNAMIC_CLASS(wxSpinEvent, wxNotifyEvent) + #include "wx/os2/private.h" // ============================================================================ @@ -32,9 +40,7 @@ // wxWin macros // ---------------------------------------------------------------------------- -#if !USE_SHARED_LIBRARY IMPLEMENT_DYNAMIC_CLASS(wxSpinButton, wxControl) -#endif bool wxSpinButton::Create( wxWindow* parent @@ -65,7 +71,7 @@ wxSpinButton::~wxSpinButton() // size calculation // ---------------------------------------------------------------------------- -wxSize wxSpinButton::DoGetBestSize() +wxSize wxSpinButton::DoGetBestSize() const { // TODO: /*