]> git.saurik.com Git - wxWidgets.git/blobdiff - src/msw/window.cpp
WinCE doesn't have GetThreadLocale
[wxWidgets.git] / src / msw / window.cpp
index a5f8399a27041fa43094d06c29cc390b1c612702..9dc2e5922d2e290fde381e094aa275647e8a45c6 100644 (file)
@@ -292,7 +292,7 @@ wxBEGIN_PROPERTIES_TABLE(wxWindow)
     // Always constructor Properties first
 
     wxREADONLY_PROPERTY( Parent,wxWindow*, GetParent, EMPTY_MACROVALUE , 0 /*flags*/ , wxT("Helpstring") , wxT("group"))
-    wxPROPERTY( Id,wxWindowID, SetId, GetId, wxID_ANY, 0 /*flags*/ , wxT("Helpstring") , wxT("group") )
+    wxPROPERTY( Id,wxWindowID, SetId, GetId, -1 /*wxID_ANY*/ , 0 /*flags*/ , wxT("Helpstring") , wxT("group") )
     wxPROPERTY( Position,wxPoint, SetPosition , GetPosition, wxDefaultPosition , 0 /*flags*/ , wxT("Helpstring") , wxT("group")) // pos
     wxPROPERTY( Size,wxSize, SetSize, GetSize, wxDefaultSize , 0 /*flags*/ , wxT("Helpstring") , wxT("group")) // size
     wxPROPERTY( WindowStyle , long , SetWindowStyleFlag , GetWindowStyleFlag , EMPTY_MACROVALUE , 0 /*flags*/ , wxT("Helpstring") , wxT("group")) // style
@@ -2321,7 +2321,7 @@ WXLRESULT wxWindowMSW::MSWWindowProc(WXUINT message, WXWPARAM wParam, WXLPARAM l
 #ifdef WM_PRINT
         case WM_PRINTCLIENT:
             if ( GetParent() &&
-                    GetParent()->MSWPrintChild(this, wParam, lParam) )
+                  GetParent()->MSWPrintChild((wxWindow *)this, wParam, lParam) )
             {
                 processed = true;
             }