X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/4a712ba3cfe27e8d39ee8fe8691ff67d1c96cb43..4b2322641a8c15b849c7221438ad9f1a7366afa6:/src/os2/window.cpp diff --git a/src/os2/window.cpp b/src/os2/window.cpp index 8b37718764..7dcb471694 100644 --- a/src/os2/window.cpp +++ b/src/os2/window.cpp @@ -47,7 +47,7 @@ #include #endif -#if wxUSE_OWNER_DRAWN +#if wxUSE_OWNER_DRAWN #include "wx/ownerdrw.h" #endif @@ -5126,7 +5126,7 @@ const wxChar* wxGetMessageName( int nMessage ) } static wxString s_szBuf; - s_szBuf.Printf(wxT(""), message); + s_szBuf.Printf(wxT(""), nMessage); return s_szBuf.c_str(); } // end of wxGetMessageName