]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/stockitem.cpp
Added pango_context_get_language to speed up pango_context_get_metrics
[wxWidgets.git] / src / common / stockitem.cpp
index 6bf9ac60e32cb862419f147ef4cc988f48bcc8ef..a559da2155b917966c6af17d94dc79cf26987b37 100644 (file)
@@ -169,7 +169,7 @@ wxString wxGetStockLabel(wxWindowID id, long flags)
 
     #undef STOCKITEM
 
-    if(flags & wxSTOCK_WITH_MNEMONIC)
+    if ( !(flags & wxSTOCK_WITH_MNEMONIC) )
     {
         stockLabel = wxStripMenuCodes( stockLabel );
     }