]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/stockitem.h
added a couple of base classes
[wxWidgets.git] / include / wx / stockitem.h
index a7480db8785acf7961a8c00563d65f6d82bdd923..65e01d9f72d9f232636bfc0ba1cade0d5dfc4224 100644 (file)
@@ -43,9 +43,13 @@ enum wxStockLabelQueryFlag
 WXDLLEXPORT wxString wxGetStockLabel(wxWindowID id,
                                      long flags = wxSTOCK_WITH_MNEMONIC);
 
-// Returns the accelerator that should be used for given stock UI element
-// (e.g. "Ctrl+x" for wxSTOCK_EXIT)
-WXDLLEXPORT wxAcceleratorEntry wxGetStockAccelerator(wxWindowID id);
+#if wxUSE_ACCEL
+
+    // Returns the accelerator that should be used for given stock UI element
+    // (e.g. "Ctrl+x" for wxSTOCK_EXIT)
+    WXDLLEXPORT wxAcceleratorEntry wxGetStockAccelerator(wxWindowID id);
+
+#endif
 
 #ifdef __WXGTK20__