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
Super wx Problem Solver
Super wx Problem Solver
Posts: 369
Joined: Fri May 22, 2009 8:52 am
Location: Bremen, Germany

add controls to wxColorDialog

Post by mael15 » Fri Apr 08, 2016 10:51 am

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: 13909
Joined: Fri Apr 21, 2006 8:03 pm
Location: $FCE2

Re: add controls to wxColorDialog

Post by doublemax » Fri Apr 08, 2016 12:23 pm

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