]> git.saurik.com Git - wxWidgets.git/commitdiff
Fix for 'using default arguments would be overload ambiguous' warning.
authorWłodzimierz Skiba <abx@abx.art.pl>
Thu, 19 May 2005 17:37:59 +0000 (17:37 +0000)
committerWłodzimierz Skiba <abx@abx.art.pl>
Thu, 19 May 2005 17:37:59 +0000 (17:37 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34174 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

include/wx/event.h

index f937cca16c15d9107f8cc1368f5385960d4b79c2..92b58526e1c6f92afd7c57a75b72b0cc87f41b88 100644 (file)
@@ -2356,7 +2356,7 @@ public:
         { return Disconnect(winid, wxID_ANY, eventType, func, userData, eventSink); }
 
     bool Disconnect(wxEventType eventType,
-                    wxObjectEventFunction func = NULL,
+                    wxObjectEventFunction func,
                     wxObject *userData = (wxObject *) NULL,
                     wxEvtHandler *eventSink = (wxEvtHandler *) NULL)
         { return Disconnect(wxID_ANY, eventType, func, userData, eventSink); }