Hi,
I have seen the link on the forum that mentions something about using Drawers for dialogs on MAC. However, i haven't been able to find any sample code.
Does anyone know, how to implement drawers?
TIA.
Mac Drawers for wxDialog
-
- Filthy Rich wx Solver
- Posts: 205
- Joined: Wed Jun 25, 2008 3:37 pm
-
- Filthy Rich wx Solver
- Posts: 205
- Joined: Wed Jun 25, 2008 3:37 pm
Okay, i was able to create a Drawer using the header provided at /include/wx/mac/carbon/drawer.h.
However, i am unable to add control to it.
I added a wxFlexGridSizer (with 2 rows and 1 column) and added and tree control to the wxFlexGridSizer.
However, it does not seem to add the sizer/controls and instead the wxStdDialogButtonSizer on parent dialog is removed.
Can any one throuw some light on it? A sample will be appreciated!
However, i am unable to add control to it.
I added a wxFlexGridSizer (with 2 rows and 1 column) and added and tree control to the wxFlexGridSizer.
However, it does not seem to add the sizer/controls and instead the wxStdDialogButtonSizer on parent dialog is removed.
Can any one throuw some light on it? A sample will be appreciated!