X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/e70f5e1301456e02668807d3795a5f2912c2ea86..266839eee9b3695b265868365ee87d7ebeba41be:/utils/dialoged/src/reseditr.h?ds=sidebyside diff --git a/utils/dialoged/src/reseditr.h b/utils/dialoged/src/reseditr.h index c0b2c6840b..021b867195 100644 --- a/utils/dialoged/src/reseditr.h +++ b/utils/dialoged/src/reseditr.h @@ -12,7 +12,7 @@ #ifndef _RESEDITR_H_ #define _RESEDITR_H_ -#define wxDIALOG_EDITOR_VERSION 1.6 +#define wxDIALOG_EDITOR_VERSION 1.7 #ifdef __GNUG__ #pragma interface "reseditr.h" @@ -252,10 +252,13 @@ public: // Deletes 'win' and creates a new window from the resource that // was associated with it. E.g. if you can't change properties on the // fly, you'll need to delete the window and create it again. - virtual wxWindow *RecreateWindowFromResource(wxWindow *win, wxWindowPropertyInfo *info = NULL); + virtual wxWindow *RecreateWindowFromResource(wxWindow *win, wxWindowPropertyInfo *info = NULL, bool instantiateFirst = TRUE); virtual bool RecreateSelection(); + // Remove selection handles if this control is selected + void DeselectItemIfNecessary(wxWindow *win); + // Need to search through resource table removing this from // any resource which has this as a parent. virtual bool RemoveResourceFromParent(wxItemResource *res);