Beispiel #1
0
 public ColourDialog(Window parent, ColourData data)
     : base(wxColourDialog_ctor())
 {
     if (!Create(parent, data))
     {
         throw new InvalidOperationException("Failed to create ColourDialog");
     }
 }
Beispiel #2
0
 public bool Create(Window parent, ColourData data)
 {
     return(wxColourDialog_Create(wxObject, Object.SafePtr(parent),
                                  Object.SafePtr(data)));
 }