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
This commit is contained in:
@@ -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
|
||||
|
@@ -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
|
||||
{
|
||||
|
@@ -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
|
||||
{
|
||||
|
Reference in New Issue
Block a user