]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/msw/winundef.h
EXPORTED an array to quiet the DLL compilation
[wxWidgets.git] / include / wx / msw / winundef.h
index 6af2f389ccb674df609449f3f2dc6f54df5f405a..356bb06ab1109575ca43df7053ca6a9bc5564a5c 100644 (file)
     }
 #endif
 
     }
 #endif
 
+// IsMaximized
+
+#ifdef IsMaximized
+    #undef IsMaximized
+    inline BOOL IsMaximized(HWND hwnd)
+    {
+        return IsZoomed(hwnd);
+    }
+#endif
+
+// GetFirstChild
+
+#ifdef GetFirstChild
+    #undef GetFirstChild
+    inline HWND GetFirstChild(HWND hwnd)
+    {
+        return GetTopWindow(hwnd);
+    }
+#endif
+
+// GetPrevSibling
+
+#ifdef GetPrevSibling
+    #undef GetPrevSibling
+    inline HWND GetPrevSibling(HWND hwnd)
+    {
+        return GetWindow(hwnd,GW_HWNDPREV);
+    }
+#endif
+
+// GetNextSibling
+
+#ifdef GetNextSibling
+    #undef GetNextSibling
+    inline HWND GetNextSibling(HWND hwnd)
+    {
+        return GetWindow(hwnd,GW_HWNDNEXT);
+    }
+#endif
+
 // For WINE
 
 #if defined(GetWindowStyle) || defined(__WXWINE__)
 // For WINE
 
 #if defined(GetWindowStyle) || defined(__WXWINE__)