X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/b2ff89d648e5b73172dc2f4aa84d2aadbdc063ec..3d777efedc1e05bd6c2a7c34a00a65895b62bb13:/include/wx/gtk1/control.h diff --git a/include/wx/gtk1/control.h b/include/wx/gtk1/control.h index 42e48726bf..c9b8982088 100644 --- a/include/wx/gtk1/control.h +++ b/include/wx/gtk1/control.h @@ -1,8 +1,7 @@ ///////////////////////////////////////////////////////////////////////////// -// Name: control.h +// Name: wx/gtk1/control.h // Purpose: // Author: Robert Roebling -// Id: $Id$ // Copyright: (c) 1998 Robert Roebling, Julian Smart // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// @@ -19,7 +18,7 @@ // classes //----------------------------------------------------------------------------- -class WXDLLIMPEXP_CORE wxControl; +class WXDLLIMPEXP_FWD_CORE wxControl; typedef struct _GtkLabel GtkLabel; typedef struct _GtkFrame GtkFrame; @@ -31,7 +30,7 @@ typedef struct _GtkFrame GtkFrame; // C-linkage function pointer types for GetDefaultAttributesFromGTKWidget extern "C" { typedef GtkWidget* (*wxGtkWidgetNew_t)(void); - typedef GtkWidget* (*wxGtkWidgetNewFromStr_t)(const gchar*); + typedef GtkWidget* (*wxGtkWidgetNewFromStr_t)(const char*); typedef GtkWidget* (*wxGtkWidgetNewFromAdj_t)(GtkAdjustment*); } @@ -72,12 +71,6 @@ protected: // remove mnemonics ("&"s) from the label static wxString GTKRemoveMnemonics(const wxString& label); - // converts wx label to GTK+ label, i.e. basically replace "&"s with "_"s - // - // for GTK+ 1 (which doesn't support mnemonics) this is the same as - // GTKRemoveMnemonics() - static wxString GTKConvertMnemonics(const wxString &label); - // These are used by GetDefaultAttributes static wxVisualAttributes GetDefaultAttributesFromGTKWidget(GtkWidget* widget,