]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/init.cpp
document the protected functions of wxTextValidator; it helps user to eventually...
[wxWidgets.git] / src / common / init.cpp
index d9d3cf0dc70d01f147b5cead787a978fcc8d22d1..2450ec403360c6d2c595b54a0b63d6e3b0450aeb 100644 (file)
@@ -34,7 +34,7 @@
 #include "wx/init.h"
 #include "wx/thread.h"
 
-#include "wx/ptr_scpd.h"
+#include "wx/scopedptr.h"
 #include "wx/except.h"
 
 #if defined(__WXMSW__) && defined(__WXDEBUG__)
@@ -63,6 +63,7 @@ public:
     wxDummyConsoleApp() { }
 
     virtual int OnRun() { wxFAIL_MSG( _T("unreachable code") ); return 0; }
+    virtual bool DoYield(bool, long) { return true; }
 
     DECLARE_NO_COPY_CLASS(wxDummyConsoleApp)
 };