Interface fixes for Phoenix

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@72143 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robin Dunn
2012-07-19 06:46:44 +00:00
parent ad43a43fc2
commit 123919a9d5
3 changed files with 35 additions and 1 deletions

View File

@@ -378,6 +378,21 @@ public:
*/ */
static bool Remove(wxArtProvider* provider); 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: protected:
/** /**

View File

@@ -6,6 +6,18 @@
// Licence: wxWindows licence // 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 @class wxConfigBase
@@ -905,7 +917,7 @@ public:
@library{wxbase} @library{wxbase}
@category{cfg} @category{cfg}
*/ */
class WXDLLIMPEXP_BASE wxConfigPathChanger class wxConfigPathChanger
{ {
public: public:

View File

@@ -154,6 +154,13 @@ 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 @class wxBufferedPaintDC