X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/19bf0c69003ef4128157d157946144947aa628d2..2e9760c0ee8b20ea5c85e7cacd016e84957fcebe:/include/wx/gdicmn.h diff --git a/include/wx/gdicmn.h b/include/wx/gdicmn.h index 7518f8aaf0..5cc489ac20 100644 --- a/include/wx/gdicmn.h +++ b/include/wx/gdicmn.h @@ -48,7 +48,7 @@ class WXDLLEXPORT wxString; // --------------------------------------------------------------------------- // Bitmap flags -enum +enum wxBitmapType { wxBITMAP_TYPE_INVALID, // should be == 0 for compatibility! wxBITMAP_TYPE_BMP, @@ -123,6 +123,8 @@ enum wxStockCursor wxCURSOR_BASED_ARROW_DOWN, #endif // X11 + wxCURSOR_ARROWWAIT, + wxCURSOR_MAX }; @@ -167,7 +169,7 @@ enum wxStockCursor #if defined(__WXMSW__) || defined(__WXPM__) #define wxBITMAP(name) wxBitmap(#name, wxBITMAP_TYPE_RESOURCE) -#elif defined(__WXGTK__) || defined(__WXMOTIF__) +#elif defined(__WXGTK__) || defined(__WXMOTIF__) || defined(__WXMAC__) // Initialize from an included XPM #define wxBITMAP(name) wxBitmap( (const char**) name##_xpm ) #else // other platforms @@ -507,6 +509,10 @@ extern wxSize WXDLLEXPORT wxGetDisplaySize(); extern void WXDLLEXPORT wxDisplaySizeMM(int *width, int *height); extern wxSize WXDLLEXPORT wxGetDisplaySizeMM(); +// Get position and size of the display workarea +extern void WXDLLEXPORT wxClientDisplayRect(int *x, int *y, int *width, int *height); +extern wxRect WXDLLEXPORT wxGetClientDisplayRect(); + // set global cursor extern void WXDLLEXPORT wxSetCursor(const wxCursor& cursor);