Centre() supports wxCENTER_FRAME flag now

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3138 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
1999-07-26 09:46:53 +00:00
parent fa834f81d7
commit c39eda949d
3 changed files with 20 additions and 35 deletions

View File

@@ -257,10 +257,10 @@ public:
}
// centre with respect to the the parent window
void Centre( int direction = wxHORIZONTAL );
void Center( int direction = wxHORIZONTAL ) { Centre(direction); }
void CentreOnParent(int direction = wxHORIZONTAL );
void CenterOnParent(int direction = wxHORIZONTAL ) { CentreOnParent(direction); }
void Centre( int direction = wxBOTH );
void Center( int direction = wxBOTH ) { Centre(direction); }
void CentreOnParent( int dir = wxBOTH ) { Centre(dir | wxCENTER_FRAME); }
void CenterOnParent( int dir = wxBOTH ) { Centre(dir | wxCENTER_FRAME); }
// set window size to wrap around its children
virtual void Fit();