]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/msw/apptrait.h
Cast for argument to delete[] - VC6 doesn't want to delete a const pointer
[wxWidgets.git] / include / wx / msw / apptrait.h
index 40cf996c8db9c23104fb573e6334f02e25405da3..aca686e5fad1a13907fa59193024d3ac7e0852b4 100644 (file)
@@ -43,7 +43,7 @@ public:
     virtual wxTimerImpl *CreateTimerImpl(wxTimer *timer);
 #endif
     virtual bool DoMessageFromThreadWait();
     virtual wxTimerImpl *CreateTimerImpl(wxTimer *timer);
 #endif
     virtual bool DoMessageFromThreadWait();
-    virtual wxPortId GetToolkitVersion(int *majVer, int *minVer) const;
+    virtual wxPortId GetToolkitVersion(int *majVer = NULL, int *minVer = NULL) const;
     virtual WXDWORD WaitForThread(WXHANDLE hThread);
 };
 
     virtual WXDWORD WaitForThread(WXHANDLE hThread);
 };