declare all NameStr[] strings as const char using the correct WXDLLIMPEXP_DATA_ macros; in the process, change wxPropGrid window classes to take 'const wxString& name' arguments instead of 'const wxChar *name'
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56651 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -22,7 +22,7 @@
|
||||
// constants
|
||||
// ----------------------------------------------------------------------------
|
||||
|
||||
extern WXDLLIMPEXP_DATA_ADV(const wxChar) wxGridNameStr[];
|
||||
extern WXDLLIMPEXP_DATA_ADV(const char) wxGridNameStr[];
|
||||
|
||||
// Default parameters for wxGrid
|
||||
//
|
||||
@@ -2326,8 +2326,8 @@ public:
|
||||
SetEventObject(obj);
|
||||
}
|
||||
|
||||
// explicitly specifying inline allows gcc < 3.4 to
|
||||
// handle the deprecation attribute even in the constructor.
|
||||
// explicitly specifying inline allows gcc < 3.4 to
|
||||
// handle the deprecation attribute even in the constructor.
|
||||
wxDEPRECATED( inline
|
||||
wxGridEvent(int id,
|
||||
wxEventType type,
|
||||
|
Reference in New Issue
Block a user