X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/b2aef89b7a675805b601e757492c982031f38d21..b593568eca4d3baf5010d005756a47adeb519008:/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