]> git.saurik.com Git - wxWidgets.git/blobdiff - src/msw/tbar95.cpp
Applied patch [ 1489638 ] Trivial bugfix - missing constructor in wxGenericFontDialog
[wxWidgets.git] / src / msw / tbar95.cpp
index 16ccaa00b37a7d1979821f058d46092feaea8cde..606e581cd9c582beacdd432496151ed0632c75bb 100644 (file)
@@ -509,7 +509,7 @@ void wxToolBar::CreateDisabledImageList()
 
     // as we can't use disabled image list with older versions of comctl32.dll,
     // don't even bother creating it
-    if ( wxTheApp->GetComCtl32Version() >= 470 )
+    if ( wxApp::GetComCtl32Version() >= 470 )
     {
         // search for the first disabled button img in the toolbar, if any
         for ( wxToolBarToolsList::compatibility_iterator