virtual bool Destroy();
- void SetClientSize(int width, int height);
- void SetClientSize(const wxSize& sz) { wxWindow::SetClientSize(sz); }
-
void GetClientSize(int *width, int *height) const;
- wxSize GetClientSize() const { return wxWindow::GetClientSize(); }
-
void GetSize(int *width, int *height) const ;
- wxSize GetSize() const { return wxWindow::GetSize(); }
-
void GetPosition(int *x, int *y) const ;
- wxPoint GetPosition() const { return wxWindow::GetPosition(); }
- virtual void SetSize(int x, int y, int width, int height, int sizeFlags = wxSIZE_AUTO);
+ wxSize GetSize() const { return wxWindow::GetSize(); }
+ wxPoint GetPosition() const { return wxWindow::GetPosition(); }
+ wxSize GetClientSize() const { return wxWindow::GetClientSize(); }
+ wxRect GetClientRect() const { return wxWindow::GetClientRect(); }
virtual void ClientToScreen(int *x, int *y) const;
-
virtual void ScreenToClient(int *x, int *y) const;
void OnSize(wxSizeEvent& event);
WXHWND m_hwndToolTip;
#endif // tooltips
+ virtual void DoSetSize(int x, int y,
+ int width, int height,
+ int sizeFlags = wxSIZE_AUTO);
+ virtual void DoSetClientSize(int width, int height);
+
private:
DECLARE_EVENT_TABLE()
};