From: Ove Kaaven Date: Wed, 14 Apr 1999 11:55:35 +0000 (+0000) Subject: The char->wxChar in window.h cascades through some other header files. X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/908d45166b3dbe175746fd8145e331e805193aba?ds=inline The char->wxChar in window.h cascades through some other header files. Someone give a hint why you'd declare the same extern global vars separately in a ton of header files instead of just once in a header file included by all the others? git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2154 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/include/wx/generic/panelg.h b/include/wx/generic/panelg.h index c60d17f393..a4c8029462 100644 --- a/include/wx/generic/panelg.h +++ b/include/wx/generic/panelg.h @@ -18,7 +18,7 @@ #include "wx/window.h" -WXDLLEXPORT_DATA(extern const char*) wxPanelNameStr; +WXDLLEXPORT_DATA(extern const wxChar*) wxPanelNameStr; class WXDLLEXPORT wxPanel : public wxWindow diff --git a/include/wx/generic/scrolwin.h b/include/wx/generic/scrolwin.h index 8a337fa77d..6368dfb0b2 100644 --- a/include/wx/generic/scrolwin.h +++ b/include/wx/generic/scrolwin.h @@ -18,7 +18,7 @@ #include "wx/window.h" -WXDLLEXPORT_DATA(extern const char*) wxPanelNameStr; +WXDLLEXPORT_DATA(extern const wxChar*) wxPanelNameStr; class WXDLLEXPORT wxScrolledWindow: public wxWindow { diff --git a/include/wx/generic/statusbr.h b/include/wx/generic/statusbr.h index 68a4e96f42..0c85830028 100644 --- a/include/wx/generic/statusbr.h +++ b/include/wx/generic/statusbr.h @@ -20,7 +20,7 @@ #include "wx/pen.h" #include "wx/font.h" -WXDLLEXPORT_DATA(extern const char*) wxPanelNameStr; +WXDLLEXPORT_DATA(extern const wxChar*) wxPanelNameStr; class WXDLLEXPORT wxStatusBar: public wxWindow {