Tries unsuccesfully to cure a few more problems

for DialogEd
  wxFileSelector now sets the title
  Todo is quite complete now


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@701 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robert Roebling
1998-09-07 09:17:58 +00:00
parent 8ed57d9312
commit 97b3455a6d
11 changed files with 41 additions and 15 deletions

View File

@@ -21,18 +21,22 @@ Consistent keyboard interface and focus behaviour
================================ GTK ========================================== ================================ GTK ==========================================
Set fonts in GTK widgets Add support Set colour/baclgroundcolour in GTK widgets
Set colour/baclgroundcolour in GTK widgets
Correct tab navigation (seems to be a GTK feature) Correct tab navigation (seems to be a GTK feature)
DnD (postponed as GTK 1.2 will have new DnD) Finish DnD (postponed as GTK 1.2 will have new DnD)
Clipboard Add Clipboard
Help system (not sure about this one) Help system (not sure about this one)
Show accelerator in menus Show accelerator in menus
More controls with bitmaps More controls with bitmaps
Speed up bitmap saving Speed up bitmap saving
wxBitmapHandler Add wxBitmapHandler
Fix printing of bitmaps Fix printing of bitmaps
wxRadioBox layout and setsize Implement wxRadioBox layout
Finish wxTextCtrl
Finish native wxTreeCtrl
Implement wxPalette
Implement wxDirDialog
Implement CopyOnWrite (unshare) for GDI objects
Support cooperation between Qt and wxWindows
TrueType support (just kidding) TrueType support (just kidding)
wxTreeCtrl not yet finshed

View File

@@ -103,6 +103,7 @@ class wxComboBox: public wxControl
wxList m_clientData; wxList m_clientData;
GtkWidget* GetConnectWidget(void);
}; };
#endif // __GTKCOMBOBOXH__ #endif // __GTKCOMBOBOXH__

View File

@@ -103,6 +103,7 @@ class wxComboBox: public wxControl
wxList m_clientData; wxList m_clientData;
GtkWidget* GetConnectWidget(void);
}; };
#endif // __GTKCOMBOBOXH__ #endif // __GTKCOMBOBOXH__

View File

@@ -405,3 +405,9 @@ void wxComboBox::SetFont( const wxFont &font )
} }
} }
GtkWidget* wxComboBox::GetConnectWidget(void)
{
return GTK_COMBO(m_widget)->entry;
}

View File

@@ -64,7 +64,7 @@ wxFileDialog::wxFileDialog(wxWindow *parent, const wxString& message,
m_dialogStyle = style; m_dialogStyle = style;
m_filterIndex = 1; m_filterIndex = 1;
m_widget = gtk_file_selection_new(_("File selection")); m_widget = gtk_file_selection_new( m_message );
int x = (gdk_screen_width () - 400) / 2; int x = (gdk_screen_width () - 400) / 2;
int y = (gdk_screen_height () - 400) / 2; int y = (gdk_screen_height () - 400) / 2;

View File

@@ -23,7 +23,7 @@
extern bool g_blockEventsOnDrag; extern bool g_blockEventsOnDrag;
//----------------------------------------------------------------------------- //-----------------------------------------------------------------------------
// wxSlider // "value_changed"
//----------------------------------------------------------------------------- //-----------------------------------------------------------------------------
static void gtk_slider_callback( GtkWidget *WXUNUSED(widget), wxSlider *win ) static void gtk_slider_callback( GtkWidget *WXUNUSED(widget), wxSlider *win )
@@ -59,6 +59,10 @@ static void gtk_slider_callback( GtkWidget *WXUNUSED(widget), wxSlider *win )
win->ProcessEvent( cevent ); win->ProcessEvent( cevent );
} }
//-----------------------------------------------------------------------------
// wxSlider
//-----------------------------------------------------------------------------
IMPLEMENT_DYNAMIC_CLASS(wxSlider,wxControl) IMPLEMENT_DYNAMIC_CLASS(wxSlider,wxControl)
wxSlider::wxSlider(void) wxSlider::wxSlider(void)

View File

@@ -396,7 +396,7 @@ static gint gtk_window_button_press_callback( GtkWidget *widget, GdkEventButton
} }
//----------------------------------------------------------------------------- //-----------------------------------------------------------------------------
// "button_release" // "button_release_event"
//----------------------------------------------------------------------------- //-----------------------------------------------------------------------------
static gint gtk_window_button_release_callback( GtkWidget *widget, GdkEventButton *gdk_event, wxWindow *win ) static gint gtk_window_button_release_callback( GtkWidget *widget, GdkEventButton *gdk_event, wxWindow *win )

View File

@@ -405,3 +405,9 @@ void wxComboBox::SetFont( const wxFont &font )
} }
} }
GtkWidget* wxComboBox::GetConnectWidget(void)
{
return GTK_COMBO(m_widget)->entry;
}

View File

@@ -64,7 +64,7 @@ wxFileDialog::wxFileDialog(wxWindow *parent, const wxString& message,
m_dialogStyle = style; m_dialogStyle = style;
m_filterIndex = 1; m_filterIndex = 1;
m_widget = gtk_file_selection_new(_("File selection")); m_widget = gtk_file_selection_new( m_message );
int x = (gdk_screen_width () - 400) / 2; int x = (gdk_screen_width () - 400) / 2;
int y = (gdk_screen_height () - 400) / 2; int y = (gdk_screen_height () - 400) / 2;

View File

@@ -23,7 +23,7 @@
extern bool g_blockEventsOnDrag; extern bool g_blockEventsOnDrag;
//----------------------------------------------------------------------------- //-----------------------------------------------------------------------------
// wxSlider // "value_changed"
//----------------------------------------------------------------------------- //-----------------------------------------------------------------------------
static void gtk_slider_callback( GtkWidget *WXUNUSED(widget), wxSlider *win ) static void gtk_slider_callback( GtkWidget *WXUNUSED(widget), wxSlider *win )
@@ -59,6 +59,10 @@ static void gtk_slider_callback( GtkWidget *WXUNUSED(widget), wxSlider *win )
win->ProcessEvent( cevent ); win->ProcessEvent( cevent );
} }
//-----------------------------------------------------------------------------
// wxSlider
//-----------------------------------------------------------------------------
IMPLEMENT_DYNAMIC_CLASS(wxSlider,wxControl) IMPLEMENT_DYNAMIC_CLASS(wxSlider,wxControl)
wxSlider::wxSlider(void) wxSlider::wxSlider(void)

View File

@@ -396,7 +396,7 @@ static gint gtk_window_button_press_callback( GtkWidget *widget, GdkEventButton
} }
//----------------------------------------------------------------------------- //-----------------------------------------------------------------------------
// "button_release" // "button_release_event"
//----------------------------------------------------------------------------- //-----------------------------------------------------------------------------
static gint gtk_window_button_release_callback( GtkWidget *widget, GdkEventButton *gdk_event, wxWindow *win ) static gint gtk_window_button_release_callback( GtkWidget *widget, GdkEventButton *gdk_event, wxWindow *win )