]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/msw/winundef.h
wxClipboard changes compilation fixes
[wxWidgets.git] / include / wx / msw / winundef.h
index 41181e982a1c3382dbc841398d4831a45044c0c6..13788c1f8554c7c066bbdf95e38c9d44916c533e 100644 (file)
@@ -5,7 +5,7 @@
 // Modified by:
 // Created:     16.05.99
 // RCS-ID:      $Id$
-// Copyright:   (c) wxWindows team
+// Copyright:   (c) wxWidgets team
 // Licence:     wxWindows licence
 /////////////////////////////////////////////////////////////////////////////
 
@@ -27,8 +27,7 @@
 
 // CreateDialog
 
-//#ifdef(CreateDialog)
-#if !defined(__WXWINCE__) && defined(CreateDialog)
+#if defined(CreateDialog)
     #undef CreateDialog
 
     inline HWND CreateDialog(HINSTANCE hInstance,
     inline BOOL IsMaximized(HWND hwnd)
     {
 #ifdef __WXWINCE__
+        wxUnusedVar(hwnd);
         return FALSE;
 #else
         return IsZoomed(hwnd);
     inline HWND GetFirstChild(HWND hwnd)
     {
 #ifdef __WXWINCE__
+        wxUnusedVar(hwnd);
         return 0;
 #else
         return GetTopWindow(hwnd);