X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/e9e4acc5197ac49259b9a39468c5931b4459d87f..39c0acb66674c5e0424633cf162e6c10c92178d4:/include/wx/button.h diff --git a/include/wx/button.h b/include/wx/button.h index 3eee1463c2..d4032a3b6c 100644 --- a/include/wx/button.h +++ b/include/wx/button.h @@ -12,6 +12,8 @@ #ifndef _WX_BUTTON_H_BASE_ #define _WX_BUTTON_H_BASE_ +#include "wx/defs.h" + #if wxUSE_BUTTON // ---------------------------------------------------------------------------- @@ -46,6 +48,8 @@ WXDLLEXPORT_DATA(extern const wxChar*) wxButtonNameStr; class WXDLLEXPORT wxButtonBase : public wxControl { public: + wxButtonBase() { } + // show the image in the button in addition to the label virtual void SetImageLabel(const wxBitmap& WXUNUSED(bitmap)) { } @@ -58,6 +62,8 @@ public: // returns the default button size for this platform static wxSize GetDefaultSize(); + + DECLARE_NO_COPY_CLASS(wxButtonBase) }; #if defined(__WXUNIVERSAL__) @@ -70,6 +76,8 @@ public: #include "wx/gtk/button.h" #elif defined(__WXMAC__) #include "wx/mac/button.h" +#elif defined(__WXCOCOA__) + #include "wx/cocoa/button.h" #elif defined(__WXPM__) #include "wx/os2/button.h" #endif