Roman Hiestand
2014-03-27 12:16:56 UTC
Hello all
In my application, I have a wxPanel and several widgets as children,
grouped with wxBoxSizers (created with wxFormBuilder). During
a lengthy operation, I would like to Disable all widgets (except for
a progress gauge) and then re-enable them when the operation is finished.
On Windows and Linux/GTK, when I call
pPanel->Enable(false);
all widgets inside the wxPanel are disabled (or enabled when I call
Enable(true) ). On OS X/Cocoa, this does not happen. In fact, nothing
happens when I call Enable on a panel.
Is this a bug of wxWidgets on OS X/Cocoa?
Is there another way to disable/enable all widgets of a panel at once?
As a workaround, I now enable/disable all GUI elements individually.
Another thing: Disabling a wxNotebook also has no effect on OS X/Cocoa,
while it works perfectly on Windows and Linux/GTK.
I have tried several versions of wxWidgets, among them 3.0.0, 2.9.4 and
2.9.5. All have the same problem.
Thanks in advance
Roman
In my application, I have a wxPanel and several widgets as children,
grouped with wxBoxSizers (created with wxFormBuilder). During
a lengthy operation, I would like to Disable all widgets (except for
a progress gauge) and then re-enable them when the operation is finished.
On Windows and Linux/GTK, when I call
pPanel->Enable(false);
all widgets inside the wxPanel are disabled (or enabled when I call
Enable(true) ). On OS X/Cocoa, this does not happen. In fact, nothing
happens when I call Enable on a panel.
Is this a bug of wxWidgets on OS X/Cocoa?
Is there another way to disable/enable all widgets of a panel at once?
As a workaround, I now enable/disable all GUI elements individually.
Another thing: Disabling a wxNotebook also has no effect on OS X/Cocoa,
while it works perfectly on Windows and Linux/GTK.
I have tried several versions of wxWidgets, among them 3.0.0, 2.9.4 and
2.9.5. All have the same problem.
Thanks in advance
Roman
--
Please read http://www.wxwidgets.org/support/mlhowto.htm before posting.
To unsubscribe, send email to wx-users+***@googlegroups.com
or visit http://groups.google.com/group/wx-users
Please read http://www.wxwidgets.org/support/mlhowto.htm before posting.
To unsubscribe, send email to wx-users+***@googlegroups.com
or visit http://groups.google.com/group/wx-users