]> git.saurik.com Git - wxWidgets.git/commitdiff
Added GetMessage to those that are undef'ed and reimplemented as
authorRobin Dunn <robin@alldunn.com>
Mon, 7 Jun 1999 21:29:10 +0000 (21:29 +0000)
committerRobin Dunn <robin@alldunn.com>
Mon, 7 Jun 1999 21:29:10 +0000 (21:29 +0000)
inlines for wxMSW.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2703 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

include/wx/msw/winundef.h

index 3d657f4c21f063befc26cada049bce2a2f2eea54..25bcb7d67ed6a1dba616b5a9dca4becf384b5440 100644 (file)
       return GetObjectW(h, i, buffer);
    #else
       return GetObjectA(h, i, buffer);
       return GetObjectW(h, i, buffer);
    #else
       return GetObjectA(h, i, buffer);
-   #endif   
+   #endif
+   }
+#endif
+
+
+#ifdef GetMessage
+   #undef GetMessage
+   inline int GetMessage(LPMSG lpMsg, HWND hWnd, UINT wMsgFilterMin, UINT wMsgFilterMax)
+   {
+   #ifdef _UNICODE
+      return GetMessageW(lpMsg, hWnd, wMsgFilterMin, wMsgFilterMax);
+   #else
+      return GetMessageA(lpMsg, hWnd, wMsgFilterMin, wMsgFilterMax);
+   #endif
    }
 #endif
 
    }
 #endif