X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/0bba37f51ded370ee79e26916c4c94ce5dc1f44e..eba99da4c0563e6508761272a1e1f1b791d0af6b:/include/wx/toplevel.h diff --git a/include/wx/toplevel.h b/include/wx/toplevel.h index b14af59160..bfbe0ac8e4 100644 --- a/include/wx/toplevel.h +++ b/include/wx/toplevel.h @@ -26,7 +26,7 @@ #include "wx/iconbndl.h" // the default names for various classs -WXDLLEXPORT_DATA(extern const wxChar*) wxFrameNameStr; +extern WXDLLEXPORT_DATA(const wxChar*) wxFrameNameStr; class WXDLLEXPORT wxTopLevelWindowBase; @@ -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__)