wxMSW: Incorrect background on wxButtons?

Robin Dunn robin at alldunn.com
Mon Apr 2 10:21:29 PDT 2007


Tommy W wrote:
> Hi,
> I get a default grey colour on the backgound of a wxButton when adding it to 
> my wxFrame.
> 
> http://svearike.sytes.net/~tommy/login.jpg
> 
> Is that how it is supposed to look?
> Just wondering because I thought it looked a bit weird?  (not used to windows, 
> hehe)
> I'm talking about the colour 'behind' the button (in reality, the border)

Put your widgets on a wxPanel and put that panel in the Frame.

-- 
Robin Dunn
Software Craftsman
http://wxPython.org  Java give you jitters?  Relax with wxPython!





More information about the wx-users mailing list