X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/9d4ca3aa8f594848a8f68140b25ec86549e12e98..6feddea302d401adad1a97796675f8737d3b9d23:/src/common/bmpbase.cpp diff --git a/src/common/bmpbase.cpp b/src/common/bmpbase.cpp index 8715e67d10..86a9341ee2 100644 --- a/src/common/bmpbase.cpp +++ b/src/common/bmpbase.cpp @@ -19,6 +19,8 @@ #pragma hdrstop #endif +#if defined(__WXMGL__) || defined(__WXMAC__) + #include "wx/wx.h" #include "wx/setup.h" #include "wx/utils.h" @@ -109,8 +111,6 @@ void wxBitmapBase::CleanUpHandlers() } } - - class wxBitmapBaseModule: public wxModule { DECLARE_DYNAMIC_CLASS(wxBitmapBaseModule) @@ -121,3 +121,6 @@ public: }; IMPLEMENT_DYNAMIC_CLASS(wxBitmapBaseModule, wxModule) + +#endif // defined(__WXMGL__) || defined(__WXMAC__) +