Added DoSetSize and DoMoveWindow to generic wxStaticLine.

Now it works with sizers.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16294 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Mattia Barbon
2002-07-27 20:13:33 +00:00
parent b5a7cdc076
commit 277f2e527e
2 changed files with 16 additions and 1 deletions

View File

@@ -50,7 +50,11 @@ public:
// will want to return the main widget for m_statbox
//
WXWidget GetMainWidget() const;
// override wxWindow methods to make things work
virtual void DoSetSize(int x, int y, int width, int height,
int sizeFlags = wxSIZE_AUTO);
virtual void DoMoveWindow(int x, int y, int width, int height);
protected:
// we implement the static line using a static box
wxStaticBox *m_statbox;