added wxNullPtr and use it instead of just 0 with wxFileTypeInfo vararg ctor to fix crashes under 64 bit architectures
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46439 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -151,8 +151,9 @@ public:
|
||||
// const wxString& openCmd,
|
||||
// const wxString& printCmd,
|
||||
// const wxString& desc,
|
||||
// // the other parameters form a NULL terminated list of
|
||||
// // extensions
|
||||
// // the other parameters form a list of extensions for this
|
||||
// // file type and should be terminated with wxNullPtr (not
|
||||
// // just NULL!)
|
||||
// ...);
|
||||
WX_DEFINE_VARARG_FUNC_CTOR(wxFileTypeInfo,
|
||||
// NB: these are not format strings, using
|
||||
|
Reference in New Issue
Block a user