X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/b2aef89b7a675805b601e757492c982031f38d21..c4e7c2aa5822f9a6e97d8d7848b95ea2eadcd98b:/include/wx/utils.h diff --git a/include/wx/utils.h b/include/wx/utils.h index e2ef6fd635..a8603a3fc8 100644 --- a/include/wx/utils.h +++ b/include/wx/utils.h @@ -266,7 +266,7 @@ void WXDLLEXPORT wxGetMousePosition( int* x, int* y ); // MSW only: get user-defined resource from the .res file. // Returns NULL or newly-allocated memory, so use delete[] to clean up. -#ifdef __WINDOWS__ +#ifdef __WXMSW__ extern const char* WXDLLEXPORT wxUserResourceStr; char* WXDLLEXPORT wxLoadUserResource(const wxString& resourceName, const wxString& resourceType = wxUserResourceStr); #endif