bufgix: with newer version of wxWidgets (2.8), image slice dialog was crashing because events were being sent before the initialization was complete.

git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1520 0fc631ac-6414-0410-93d0-97cfa31319b6
This commit is contained in:
twanvl
2010-10-12 20:36:07 +00:00
parent bcc582f912
commit adeee89f0d
2 changed files with 15 additions and 0 deletions
+1
View File
@@ -78,6 +78,7 @@ class ImageSliceWindow : public wxDialog {
wxSizer* zoom_sizer, *zoom_fixed, *zoom_free;
wxCheckBox* sharpen;
wxSlider* sharpen_amount;
bool initialized; // is the gui initialized?
// --------------------------------------------------- : Events
DECLARE_EVENT_TABLE();