virtual void SetTitle(const wxString& title) = 0;
virtual wxString GetTitle() const = 0;
+ // enable/disable close button [x]
+ virtual bool EnableCloseButton(bool WXUNUSED(enable) ) { return false; }
+
// Set the shape of the window to the given region.
// Returns true if the platform supports this feature (and the
// operation is successful.)
// override some base class virtuals
virtual bool Destroy();
virtual bool IsTopLevel() const { return true; }
+ virtual bool IsVisible() const { return IsShown(); }
virtual wxSize GetMaxSize() const;
// event handlers
virtual void DoUpdateWindowUI(wxUpdateUIEvent& event) ;
protected:
+ virtual void DoSetSizeHints( int minW, int minH,
+ int maxW = wxDefaultCoord, int maxH = wxDefaultCoord,
+ int incW = wxDefaultCoord, int incH = wxDefaultCoord );
+
// the frame client to screen translation should take account of the
// toolbar which may shift the origin of the client area
virtual void DoClientToScreen(int *x, int *y) const;