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:
Robin Dunn
1998-08-17 18:24:32 +00:00
parent ee7ee4698c
commit cd0183ca31
2 changed files with 24 additions and 22 deletions

View File

@@ -95,10 +95,11 @@ public:
virtual void GetClientSize( int *width, int *height ) const;
virtual void GetPosition( int *x, int *y ) const;
virtual void Centre( int direction = wxHORIZONTAL );
inline void Center(int direction = wxHORIZONTAL) { Centre(direction); }
virtual void Fit();
// set minimal/maxmimal size for the frame
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 OnIdle( wxIdleEvent& event );

View File

@@ -95,10 +95,11 @@ public:
virtual void GetClientSize( int *width, int *height ) const;
virtual void GetPosition( int *x, int *y ) const;
virtual void Centre( int direction = wxHORIZONTAL );
inline void Center(int direction = wxHORIZONTAL) { Centre(direction); }
virtual void Fit();
// set minimal/maxmimal size for the frame
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 OnIdle( wxIdleEvent& event );