Let's face it, GTK's resizing is broken and

I cannot repair it.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1707 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robert Roebling
1999-02-17 16:42:36 +00:00
parent d3dcceb436
commit de8113d9a3
19 changed files with 221 additions and 190 deletions

View File

@@ -41,7 +41,11 @@ public:
const wxPoint& pos = wxDefaultPosition,
const wxSize& size = wxDefaultSize,
int nStrings = 0,
#if defined(__SUNCC__)
const wxString choices[] = NULL,
#else
const wxString choices[] = (const wxString *) NULL,
#endif
long style = 0,
const wxValidator& validator = wxDefaultValidator,
const wxString& name = wxListBoxNameStr);

View File

@@ -94,6 +94,7 @@ public:
// implementation
virtual void GtkOnSize( int x, int y, int width, int height );
virtual void OnInternalIdle();
bool m_modalShowing;
wxString m_title;

View File

@@ -65,7 +65,7 @@ public:
virtual void GetClientSize( int *width, int *height ) const;
wxSize GetClientSize() const { int w, h; GetClientSize(& w, & h); return wxSize(w, h); }
virtual void SetClientSize( int const width, int const height );
virtual void SetClientSize( int width, int height );
virtual void SetSize( int x, int y, int width, int height,
int sizeFlags = wxSIZE_AUTO );

View File

@@ -63,7 +63,7 @@ public:
GtkAdjustment *m_adjust;
float m_oldPos;
DECLARE_EVENT_TABLE();
DECLARE_EVENT_TABLE()
};
//-----------------------------------------------------------------------------

View File

@@ -152,7 +152,7 @@ public:
virtual void GetSize( int *width, int *height ) const;
wxSize GetSize() const { int w, h; GetSize(& w, & h); return wxSize(w, h); }
virtual void SetClientSize( int const width, int const height );
virtual void SetClientSize( int width, int height );
virtual void GetClientSize( int *width, int *height ) const;
wxSize GetClientSize() const { int w, h; GetClientSize(& w, & h); return wxSize(w, h); }