]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/msw/app.h
add default parameters for width and style parameters of FindOrCreatePen() for consis...
[wxWidgets.git] / include / wx / msw / app.h
index 601c4ab932d6eaa63fe0492420440173760aec2b..c9703b11d84f2907f2562972db91c14f259f1057 100644 (file)
@@ -81,6 +81,26 @@ protected:
     DECLARE_NO_COPY_CLASS(wxApp)
 };
 
     DECLARE_NO_COPY_CLASS(wxApp)
 };
 
+#ifdef __WXWINCE__
+
+// under CE provide a dummy implementation of GetComCtl32Version() returning
+// the value passing all ">= 470" tests (which are the only ones used in our
+// code currently) as commctrl.dll under CE 2.0 and later support comctl32.dll
+// functionality
+inline int wxApp::GetComCtl32Version()
+{
+    return 471;
+}
+
+// this is not currently used at all under CE so it's not really clear what do
+// we need to return from here
+inline int wxApp::GetShell32Version()
+{
+    return 0;
+}
+
+#endif // __WXWINCE__
+
 // ----------------------------------------------------------------------------
 // MSW-specific wxEntry() overload and IMPLEMENT_WXWIN_MAIN definition
 // ----------------------------------------------------------------------------
 // ----------------------------------------------------------------------------
 // MSW-specific wxEntry() overload and IMPLEMENT_WXWIN_MAIN definition
 // ----------------------------------------------------------------------------