X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/655719367ac5e131d9642e5783f3ecf64d1a3385..61d07ac77ac5ad7b91812b93b1870d361021314d:/src/msw/tooltip.cpp?ds=sidebyside diff --git a/src/msw/tooltip.cpp b/src/msw/tooltip.cpp index d91f36afc1..71ef1f714e 100644 --- a/src/msw/tooltip.cpp +++ b/src/msw/tooltip.cpp @@ -289,7 +289,7 @@ void wxToolTip::Add(WXHWND hWnd) if ( index != wxNOT_FOUND ) { #ifdef TTM_SETMAXTIPWIDTH - if ( wxTheApp->GetComCtl32Version() >= 470 ) + if ( wxApp::GetComCtl32Version() >= 470 ) { // use TTM_SETMAXTIPWIDTH to make tooltip multiline using the // extent of its first line as max value