diff --git a/include/wx/motif/control.h b/include/wx/motif/control.h index b029556632..9ef06a5b48 100644 --- a/include/wx/motif/control.h +++ b/include/wx/motif/control.h @@ -20,7 +20,6 @@ #include "wx/list.h" #include "wx/validate.h" -#define wxControlNameStr _T("control") // General item class class WXDLLEXPORT wxControl: public wxControlBase diff --git a/src/motif/data.cpp b/src/motif/data.cpp index ae0b7368c6..26a832eb53 100644 --- a/src/motif/data.cpp +++ b/src/motif/data.cpp @@ -86,6 +86,7 @@ wxFont wxNullFont; wxColour wxNullColour; // Default window names +const wxChar *wxControlNameStr = wxT("control"); const wxChar *wxButtonNameStr = wxT("button"); const wxChar *wxCanvasNameStr = wxT("canvas"); const wxChar *wxCheckBoxNameStr = wxT("check");