*/
static bool Remove(wxArtProvider* provider);
+ /**
+ * Helper used by GetMessageBoxIcon(): return the art id corresponding to
+ * the standard wxICON_INFORMATION/WARNING/ERROR/QUESTION flags (only one
+ * can be set)
+ */
+ static wxArtID GetMessageBoxIconId(int flags);
+
+ /**
+ * Helper used by several generic classes: return the icon corresponding to
+ * the standard wxICON_INFORMATION/WARNING/ERROR/QUESTION flags (only one
+ * can be set)
+ */
+ static wxIcon GetMessageBoxIcon(int flags);
+
+
protected:
/**
// Licence: wxWindows licence
/////////////////////////////////////////////////////////////////////////////
+
+// Flags for constructor style parameter
+enum
+{
+ wxCONFIG_USE_LOCAL_FILE = 1,
+ wxCONFIG_USE_GLOBAL_FILE = 2,
+ wxCONFIG_USE_RELATIVE_PATH = 4,
+ wxCONFIG_USE_NO_ESCAPE_CHARACTERS = 8,
+ wxCONFIG_USE_SUBDIR = 16
+};
+
+
/**
@class wxConfigBase
@library{wxbase}
@category{cfg}
*/
-class WXDLLIMPEXP_BASE wxConfigPathChanger
+class wxConfigPathChanger
{
public:
};
+/**
+ * Check if the window is natively double buffered and will return a wxPaintDC
+ * if it is, a wxBufferedPaintDC otherwise. It is the caller's responsibility
+ * to delete the wxDC pointer when finished with it.
+ */
+wxDC* wxAutoBufferedPaintDCFactory(wxWindow* window);
+
/**
@class wxBufferedPaintDC