- dlg = TestDialog(self, -1, "This is a Dialog", size=(350, 200),
- #style = wxCAPTION | wxSYSTEM_MENU | wxTHICK_FRAME
- style = wx.DEFAULT_DIALOG_STYLE
+ useMetal = False
+ if 'wxMac' in wx.PlatformInfo:
+ useMetal = self.cb.IsChecked()
+
+ dlg = TestDialog(self, -1, "Sample Dialog", size=(350, 200),
+ #style=wxCAPTION | wxSYSTEM_MENU | wxTHICK_FRAME,
+ style=wx.DEFAULT_DIALOG_STYLE,
+ useMetal=useMetal,