#ifndef _WX_TOPLEVEL_BASE_H_
#define _WX_TOPLEVEL_BASE_H_
-#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
- #pragma interface "toplevelbase.h"
-#endif
-
// ----------------------------------------------------------------------------
// headers
// ----------------------------------------------------------------------------
// return true if the frame is in fullscreen mode
virtual bool IsFullScreen() const = 0;
- /*
- for now we already have them in wxWindow, but this is wrong: these
- methods really only make sense for wxTopLevelWindow!
-
+ // the title of the top level window: the text which the
+ // window shows usually at the top of the frame/dialog in dedicated bar
virtual void SetTitle(const wxString& title) = 0;
virtual wxString GetTitle() const = 0;
- */
// Set the shape of the window to the given region.
// Returns true if the platform supports this feature (and the
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);
// do the window-specific processing after processing the update event
virtual void DoUpdateWindowUI(wxUpdateUIEvent& event) ;
+ // Reserved for future use
+ virtual void ReservedTopLevelWindowFunc1() {}
+ virtual void ReservedTopLevelWindowFunc2() {}
+ virtual void ReservedTopLevelWindowFunc3() {}
+ virtual void ReservedTopLevelWindowFunc4() {}
+ virtual void ReservedTopLevelWindowFunc5() {}
+ virtual void ReservedTopLevelWindowFunc6() {}
+ virtual void ReservedTopLevelWindowFunc7() {}
+ virtual void ReservedTopLevelWindowFunc8() {}
+ virtual void ReservedTopLevelWindowFunc9() {}
+
protected:
// the frame client to screen translation should take account of the
// toolbar which may shift the origin of the client area