]> git.saurik.com Git - wxWidgets.git/blobdiff - src/msw/app.cpp
wxRegion should work with wxCoord, not long
[wxWidgets.git] / src / msw / app.cpp
index 5f32a13e2041707c2ed66d91e153c0543a7ee48a..f1aad3735ee42c024863c7eb1f4b7ca5e7cb7b76 100644 (file)
@@ -1152,7 +1152,11 @@ int wxApp::GetComCtl32Version()
                     FARPROC theProc = ::GetProcAddress
                                         (
                                          hModuleComCtl32,
+#if defined(__BORLANDC__) && (__BORLANDC__ <= 0x520)
+                                         "InitCommonControlsEx"
+#else
                                          _T("InitCommonControlsEx")
+#endif
                                         );
 
                     if ( !theProc )
@@ -1167,7 +1171,11 @@ int wxApp::GetComCtl32Version()
                         theProc = ::GetProcAddress
                                     (
                                      hModuleComCtl32,
+#if defined(__BORLANDC__) && (__BORLANDC__ <= 0x520)
+                                     "InitializeFlatSB"
+#else
                                      _T("InitializeFlatSB")
+#endif
                                     );
                         if ( !theProc )
                         {