X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/141d782d567f92933f6fe868fff5bace77e8ecd2..d92f5f03c9a1e432751498a48e9d227459087786:/include/wx/defs.h diff --git a/include/wx/defs.h b/include/wx/defs.h index fa9403a04a..9739fbf260 100644 --- a/include/wx/defs.h +++ b/include/wx/defs.h @@ -1465,6 +1465,13 @@ enum wxBorder /* window is resized (currently, makes sense for wxMSW only) */ #define wxNO_FULL_REPAINT_ON_RESIZE 0 +/* A mask which can be used to filter (out) all wxWindow-specific styles. + */ +#define wxWINDOW_STYLE_MASK \ + (wxVSCROLL|wxHSCROLL|wxBORDER_MASK|wxALWAYS_SHOW_SB|wxCLIP_CHILDREN| \ + wxCLIP_SIBLINGS|wxTRANSPARENT_WINDOW|wxTAB_TRAVERSAL|wxWANTS_CHARS| \ + wxRETAINED|wxPOPUP_WINDOW|wxFULL_REPAINT_ON_RESIZE) + /* * Extra window style flags (use wxWS_EX prefix to make it clear that they * should be passed to wxWindow::SetExtraStyle(), not SetWindowStyle()) @@ -1706,13 +1713,6 @@ enum wxBorder #define wxPD_REMAINING_TIME 0x0040 #define wxPD_CAN_SKIP 0x0080 -/* - * wxDirDialog styles - */ - -#define wxDD_NEW_DIR_BUTTON 0x0080 -#define wxDD_CHANGE_DIR 0x0100 - /* * extended dialog specifiers. these values are stored in a different @@ -2896,6 +2896,7 @@ typedef struct _GtkAccelGroup GtkAccelGroup; typedef struct _GtkItemFactory GtkItemFactory; typedef struct _GtkSelectionData GtkSelectionData; typedef struct _GtkTextBuffer GtkTextBuffer; +typedef struct _GtkRange GtkRange; typedef GtkWidget *WXWidget;