Added wxWindow::Center
Corrected the signature for wxWindow::SetSizeHints git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@575 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -95,10 +95,11 @@ public:
|
|||||||
virtual void GetClientSize( int *width, int *height ) const;
|
virtual void GetClientSize( int *width, int *height ) const;
|
||||||
virtual void GetPosition( int *x, int *y ) const;
|
virtual void GetPosition( int *x, int *y ) const;
|
||||||
virtual void Centre( int direction = wxHORIZONTAL );
|
virtual void Centre( int direction = wxHORIZONTAL );
|
||||||
|
inline void Center(int direction = wxHORIZONTAL) { Centre(direction); }
|
||||||
virtual void Fit();
|
virtual void Fit();
|
||||||
// set minimal/maxmimal size for the frame
|
// set minimal/maxmimal size for the frame
|
||||||
virtual void SetSizeHints( int WXUNUSED(minW), int WXUNUSED(minH), int WXUNUSED(maxW),
|
virtual void SetSizeHints( int WXUNUSED(minW), int WXUNUSED(minH), int WXUNUSED(maxW),
|
||||||
int WXUNUSED(maxH), int WXUNUSED(incW) ) { }
|
int WXUNUSED(maxH), int WXUNUSED(incW), int WXUNUSED(incH) ) { }
|
||||||
|
|
||||||
void OnSize( wxSizeEvent &event );
|
void OnSize( wxSizeEvent &event );
|
||||||
void OnIdle( wxIdleEvent& event );
|
void OnIdle( wxIdleEvent& event );
|
||||||
|
@@ -95,10 +95,11 @@ public:
|
|||||||
virtual void GetClientSize( int *width, int *height ) const;
|
virtual void GetClientSize( int *width, int *height ) const;
|
||||||
virtual void GetPosition( int *x, int *y ) const;
|
virtual void GetPosition( int *x, int *y ) const;
|
||||||
virtual void Centre( int direction = wxHORIZONTAL );
|
virtual void Centre( int direction = wxHORIZONTAL );
|
||||||
|
inline void Center(int direction = wxHORIZONTAL) { Centre(direction); }
|
||||||
virtual void Fit();
|
virtual void Fit();
|
||||||
// set minimal/maxmimal size for the frame
|
// set minimal/maxmimal size for the frame
|
||||||
virtual void SetSizeHints( int WXUNUSED(minW), int WXUNUSED(minH), int WXUNUSED(maxW),
|
virtual void SetSizeHints( int WXUNUSED(minW), int WXUNUSED(minH), int WXUNUSED(maxW),
|
||||||
int WXUNUSED(maxH), int WXUNUSED(incW) ) { }
|
int WXUNUSED(maxH), int WXUNUSED(incW), int WXUNUSED(incH) ) { }
|
||||||
|
|
||||||
void OnSize( wxSizeEvent &event );
|
void OnSize( wxSizeEvent &event );
|
||||||
void OnIdle( wxIdleEvent& event );
|
void OnIdle( wxIdleEvent& event );
|
||||||
|
Reference in New Issue
Block a user