add controls to wxColorDialog

Are you writing your own components and need help with how to set them up or have questions about the components you are deriving from ? Ask them here.
Post Reply
mael15
Ultimate wxWidgets Guru
Ultimate wxWidgets Guru
Posts: 539
Joined: Fri May 22, 2009 8:52 am
Location: Bremen, Germany

add controls to wxColorDialog

Post by mael15 »

hi everyone,
i would like to customize a wxColorDialog by adding some controls. the problem is, GetSizer() in the derived class returns nullptr.
is it possible to add some controls somehow?
thank you!
User avatar
doublemax
Moderator
Moderator
Posts: 19115
Joined: Fri Apr 21, 2006 8:03 pm
Location: $FCE2

Re: add controls to wxColorDialog

Post by doublemax »

wxColourDialog is native on the three major platforms and therefore can't be modified. You could try to use the wxGenericColourDialog, but i don't know if it works or even how it looks like.
Use the source, Luke!
Post Reply