Search found 8 matches

by warlock24
Fri Mar 14, 2008 10:08 am
Forum: C++ Development
Topic: How to deal with controls in threads?
Replies: 2
Views: 969

How to deal with controls in threads?

hi, i have this pice of code: thread witch creates and uses wxProgressDialog to indicate progress of creation zip file (python) class MakeZipFileAction(uw.action.Action): def __init__(self, parent, path_to_compress, path_to_archive): uw.action.Action.__init__(self) self.__parent = parent self.__path...
by warlock24
Sat Nov 03, 2007 6:33 pm
Forum: C++ Development
Topic: How to execute code before EVT_CLOSE
Replies: 4
Views: 985

Auria wrote:You probably should check for tab closing events then
thx,
i checked once again EVT_AUINOTEBOOK_PAGE_CLOSE and this time it works :D
by warlock24
Sat Nov 03, 2007 5:45 pm
Forum: C++ Development
Topic: How to execute code before EVT_CLOSE
Replies: 4
Views: 985

perhaps you can just override Destroy(), do your custom stuff and then call wxPanel::Destroy() it seems that this produces call to Destroy() in some kind of loop :shock: i have wxAuiNotebook, wxPanel (as tab for notebook) with wxStyledTextCtrl as child on it and i want to check is there need to sav...
by warlock24
Sat Nov 03, 2007 3:23 pm
Forum: C++ Development
Topic: How to execute code before EVT_CLOSE
Replies: 4
Views: 985

How to execute code before EVT_CLOSE

hi,

i want to ask if wxWindow (wxPanel) has some kind of event or virtual method executed before child controls destruction?
by warlock24
Thu Oct 25, 2007 11:12 am
Forum: C++ Development
Topic: [wxAuiManager] How to layout this
Replies: 2
Views: 708

thx :D
by warlock24
Wed Jul 11, 2007 3:14 pm
Forum: General Development
Topic: wxAuiManager - how to get active pane?
Replies: 0
Views: 420

wxAuiManager - how to get active pane?

hi

i have wxAuiManager with wxAUI_MGR_ALLOW_ACTIVE_PANE style and i have to get pane that is active. Is there any simple solution for this?

second thing:

when pane is positioned with wxAUI_DOCK_CENTER it cannot be activated! It is some kind of bug?


ps. i use wxPython
by warlock24
Sat Mar 17, 2007 12:48 pm
Forum: C++ Development
Topic: wxGrid header - how to remove
Replies: 4
Views: 3016

wxGrid header - how to remove

hi

How can I remove header row and first column from wxGrid? :roll: