]> git.saurik.com Git - wxWidgets.git/blobdiff - src/msw/mdi.cpp
implement deprecated wxStripExtension() in terms of new wxFileName::StripExtension...
[wxWidgets.git] / src / msw / mdi.cpp
index aa931d6eaf6e414005decdb96556c0d550d700cb..1e9255d92d7cb72ecc33e4351d537d2be0aa37ad 100644 (file)
@@ -1424,11 +1424,9 @@ void MDISetMenu(wxWindow *win, HMENU hmenuFrame, HMENU hmenuWindow)
                             (WPARAM)hmenuFrame,
                             (LPARAM)hmenuWindow) )
         {
-#ifdef __WXDEBUG__
             DWORD err = ::GetLastError();
             if ( err )
                 wxLogApiError(_T("SendMessage(WM_MDISETMENU)"), err);
-#endif // __WXDEBUG__
         }
     }