Much more aggressive for intercepting events and

(not) redirecting them to wxWindows or GTK
    All widgets work now in DialogEd


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@703 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robert Roebling
1998-09-07 12:29:07 +00:00
parent a6d7030871
commit b4071e913e
31 changed files with 351 additions and 235 deletions

View File

@@ -73,6 +73,7 @@ class wxChoice: public wxControl
void SetColumns( int n = 1 );
void SetSelection( int n );
void SetStringSelection( const wxString &string );
void SetFont( const wxFont &font );
};

View File

@@ -94,6 +94,7 @@ class wxComboBox: public wxControl
void SetEditable(bool editable);
void SetFont( const wxFont &font );
void OnSize( wxSizeEvent &event );
// implementation
@@ -102,8 +103,11 @@ class wxComboBox: public wxControl
private:
wxList m_clientData;
GtkWidget* GetConnectWidget(void);
bool IsOwnGtkWindow( GdkWindow *window );
GtkWidget* GetConnectWidget(void);
DECLARE_EVENT_TABLE()
};
#endif // __GTKCOMBOBOXH__

View File

@@ -84,16 +84,16 @@ class wxListBox: public wxControl
void SetStringSelection( const wxString &string, bool select = TRUE );
void SetFont( const wxFont &font );
virtual GtkWidget *GetConnectWidget(void);
// implementation
int GetIndex( GtkWidget *item ) const;
GtkWidget *GetConnectWidget(void);
private:
GtkList *m_list;
wxList m_clientData;
public:
int GetIndex( GtkWidget *item ) const;
};
#endif // __GTKLISTBOXH__

View File

@@ -84,6 +84,8 @@ class wxRadioBox: public wxControl
// implementation
bool IsOwnGtkWindow( GdkWindow *window );
bool m_alreadySent;
private:

View File

@@ -77,7 +77,9 @@ class wxScrollBar: public wxControl
void SetObjectLength( int objectLength );
void SetViewLength( int viewLength );
public:
// implementation
bool IsOwnGtkWindow( GdkWindow *window );
GtkAdjustment *m_adjust;
float m_oldPos;

View File

@@ -84,8 +84,10 @@ class wxSlider: public wxControl
int GetThumbLength(void) const;
void SetTick( int tickPos );
public:
// implementation
bool IsOwnGtkWindow( GdkWindow *window );
GtkAdjustment *m_adjust;
float m_oldPos;

View File

@@ -105,8 +105,8 @@ class wxTextCtrl: public wxControl, public streambuf
// implementation
virtual GtkWidget* GetConnectWidget(void);
virtual bool IsOwnGtkWindow( GdkWindow *window );
GtkWidget* GetConnectWidget(void);
bool IsOwnGtkWindow( GdkWindow *window );
private:

View File

@@ -236,6 +236,7 @@ public: // cannot get private going yet
void PreCreation( wxWindow *parent, wxWindowID id, const wxPoint &pos,
const wxSize &size, long style, const wxString &name );
void PostCreation();
void ConnectWidget( GtkWidget *widget );
bool HasVMT();
virtual void ImplementSetSize();
virtual void ImplementSetPosition();