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
================================ GTK ==========================================
================================ GTK ==========================================
-Set fonts in GTK widgets
-Set colour/baclgroundcolour in GTK widgets
+Add support 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)
-Clipboard
+Finish DnD (postponed as GTK 1.2 will have new DnD)
+Add Clipboard
Help system (not sure about this one)
Show accelerator in menus
More controls with bitmaps
Speed up bitmap saving
Help system (not sure about this one)
Show accelerator in menus
More controls with bitmaps
Speed up bitmap saving
-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
+ GtkWidget* GetConnectWidget(void);
};
#endif // __GTKCOMBOBOXH__
};
#endif // __GTKCOMBOBOXH__
+ GtkWidget* GetConnectWidget(void);
};
#endif // __GTKCOMBOBOXH__
};
#endif // __GTKCOMBOBOXH__
+GtkWidget* wxComboBox::GetConnectWidget(void)
+{
+ return GTK_COMBO(m_widget)->entry;
+}
+
+
m_dialogStyle = style;
m_filterIndex = 1;
m_dialogStyle = style;
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 y = (gdk_screen_height () - 400) / 2;
int x = (gdk_screen_width () - 400) / 2;
int y = (gdk_screen_height () - 400) / 2;
extern bool g_blockEventsOnDrag;
//-----------------------------------------------------------------------------
extern bool g_blockEventsOnDrag;
//-----------------------------------------------------------------------------
//-----------------------------------------------------------------------------
static void gtk_slider_callback( GtkWidget *WXUNUSED(widget), wxSlider *win )
//-----------------------------------------------------------------------------
static void gtk_slider_callback( GtkWidget *WXUNUSED(widget), wxSlider *win )
win->ProcessEvent( cevent );
}
win->ProcessEvent( cevent );
}
+//-----------------------------------------------------------------------------
+// wxSlider
+//-----------------------------------------------------------------------------
+
IMPLEMENT_DYNAMIC_CLASS(wxSlider,wxControl)
wxSlider::wxSlider(void)
IMPLEMENT_DYNAMIC_CLASS(wxSlider,wxControl)
wxSlider::wxSlider(void)
}
if (!win->HasVMT()) return TRUE;
}
if (!win->HasVMT()) return TRUE;
/*
printf( "OnButtonPress from " );
if (win->GetClassInfo() && win->GetClassInfo()->GetClassName())
/*
printf( "OnButtonPress from " );
if (win->GetClassInfo() && win->GetClassInfo()->GetClassName())
}
//-----------------------------------------------------------------------------
}
//-----------------------------------------------------------------------------
+// "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 )
+GtkWidget* wxComboBox::GetConnectWidget(void)
+{
+ return GTK_COMBO(m_widget)->entry;
+}
+
+
m_dialogStyle = style;
m_filterIndex = 1;
m_dialogStyle = style;
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 y = (gdk_screen_height () - 400) / 2;
int x = (gdk_screen_width () - 400) / 2;
int y = (gdk_screen_height () - 400) / 2;
extern bool g_blockEventsOnDrag;
//-----------------------------------------------------------------------------
extern bool g_blockEventsOnDrag;
//-----------------------------------------------------------------------------
//-----------------------------------------------------------------------------
static void gtk_slider_callback( GtkWidget *WXUNUSED(widget), wxSlider *win )
//-----------------------------------------------------------------------------
static void gtk_slider_callback( GtkWidget *WXUNUSED(widget), wxSlider *win )
win->ProcessEvent( cevent );
}
win->ProcessEvent( cevent );
}
+//-----------------------------------------------------------------------------
+// wxSlider
+//-----------------------------------------------------------------------------
+
IMPLEMENT_DYNAMIC_CLASS(wxSlider,wxControl)
wxSlider::wxSlider(void)
IMPLEMENT_DYNAMIC_CLASS(wxSlider,wxControl)
wxSlider::wxSlider(void)
}
if (!win->HasVMT()) return TRUE;
}
if (!win->HasVMT()) return TRUE;
/*
printf( "OnButtonPress from " );
if (win->GetClassInfo() && win->GetClassInfo()->GetClassName())
/*
printf( "OnButtonPress from " );
if (win->GetClassInfo() && win->GetClassInfo()->GetClassName())
}
//-----------------------------------------------------------------------------
}
//-----------------------------------------------------------------------------
+// "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 )