Chris, could you please add this (and any other platform inconsistencies
you're aware of?) to the wxPyWiki page?
http://wiki.wxpython.org/index.cgi/wxPython_20Platform_20Inconsistencies
Thanks,
/Will Sadkin
Parlance Corporation
www.nameconnector.com
···
On Monday, May 05, 2003 10:51 AM, Chris Barker wrote:
Derrick 'dman' Hudson wrote:
>
> I have the following code in a project which is supposed to
initialize
> a toolbar :
>
> toolbar = top_frame.CreateToolBar(
wx.wxNO_BORDER|wx.wxTB_HORIZONTAL )
>
> toolbar.AddControl( wx.wxButton(toolbar,
Constants.QADD_BUTTON, "Create Group") )
> toolbar.AddControl( wx.wxButton(toolbar,
Constants.QADD_BUTTON, "Create Question") )
> toolbar.AddSeparator()
> [and so on]
>
> This works just fine on my unix system (with wxGTK), but with wxMSW
> all of the buttons are piled on top of each other at the far left of
> the toolbar.add:
toolbar.Realize()
after adding everything. It doesn't seem to be neccessary on
GTK, but it
is on MSW.-Chris