X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/0bba37f51ded370ee79e26916c4c94ce5dc1f44e..6b73af793f5236c8ad47b8df55166811f4fb042f:/include/wx/toplevel.h diff --git a/include/wx/toplevel.h b/include/wx/toplevel.h index b14af59160..64e9384a99 100644 --- a/include/wx/toplevel.h +++ b/include/wx/toplevel.h @@ -191,6 +191,7 @@ public: virtual bool Destroy(); virtual bool IsTopLevel() const { return true; } virtual wxSize GetMaxSize() const; + virtual bool ProvidesBackground() const { return true; } // event handlers void OnCloseWindow(wxCloseEvent& event); @@ -244,7 +245,7 @@ protected: // include the real class declaration -#if defined(__PALMOS__) +#if defined(__WXPALMOS__) #include "wx/palmos/toplevel.h" #define wxTopLevelWindowNative wxTopLevelWindowPalm #elif defined(__WXMSW__)