virtual bool Destroy();
void SetClientSize(int width, int height);
- void GetPosition(int *x, int *y) const;
+ void SetClientSize(const wxSize& size) { wxWindow::SetClientSize(size); }
+
+ void SetSize(int x, int y, int width, int height, int sizeFlags = wxSIZE_AUTO);
+ virtual void SetSize(const wxRect& rect, int sizeFlags = wxSIZE_AUTO)
+ { wxWindow::SetSize(rect, sizeFlags); }
+ virtual void SetSize(const wxSize& size) { wxWindow::SetSize(size); }
+ virtual void SetSize(int width, int height) { SetSize(-1, -1, width, height, wxSIZE_USE_EXISTING); }
+
bool Show(bool show);
void Iconize(bool iconize);
+ void Raise();
+ void Lower();
virtual bool IsIconized() const;
void Fit();
// Responds to colour changes
void OnSysColourChanged(wxSysColourChangedEvent& event);
+// Implementation
+ virtual void ChangeFont(bool keepOriginalSize = TRUE);
+ virtual void ChangeBackgroundColour();
+ virtual void ChangeForegroundColour();
+ inline WXWidget GetTopWidget() const { return m_mainWidget; }
+ inline WXWidget GetClientWidget() const { return m_mainWidget; }
+
+
+public:
+ //// Motif-specific
+ bool m_modalShowing;
+ wxString m_dialogTitle;
+
DECLARE_EVENT_TABLE()
};