wx.StaticText wrapping when it shouldn't

Hey everybody. I'm having a problem with wx.StaticText and wrapping. I
did a search through my so far collected wxPython mailing list archive
and came up with nothing.

My wx.StaticText widgets are wrapping text in cases where it makes no
sense (at least to me). Some lines wrap that are shorter than lines that
don't wrap.

Here's a small excerpt of the part of my app that generates the text
widgets.

[code]
def make_game_slot(self, game, launcher, args, cmds):
        pan = wx.Panel(self, -1, style=wx.SIMPLE_BORDER)
        vbox = wx.BoxSizer(wx.VERTICAL)
        pan.SetSizer(vbox)

        #Game label
        lbl = wx.StaticText(pan, -1, game)
        lbl.Wrap(-1)
        f = wx.Font(10, wx.DEFAULT, wx.NORMAL, wx.BOLD)
        lbl.SetFont(f)
        vbox.Add(lbl, border=5, flag=wx.TOP | wx.RIGHT | wx.LEFT)

        #Launcher
        l = 'Launcher: %s' % launcher
        lbl = wx.StaticText(pan, -1, l)
        lbl.Wrap(-1)
        f = wx.Font(8, wx.DEFAULT, wx.NORMAL, wx.NORMAL)
        lbl.SetFont(f)
        vbox.Add(lbl, border=5, flag=wx.LEFT | wx.RIGHT)

        #Commands
        if cmds == '': cmds = 'None'
        l = 'Commands: %s' % cmds
        lbl = wx.StaticText(pan, -1, l)
        lbl.Wrap(-1)
        lbl.SetFont(f)
        vbox.Add(lbl, border=5, flag=wx.LEFT | wx.RIGHT)

        #Arguments
        if args == '': args = 'None'
        l = 'Arguments: %s' % args
        lbl = wx.StaticText(pan, -1, l)
        lbl.Wrap(-1)
        lbl.SetFont(f)
        vbox.Add(lbl, border=5, flag=wx.LEFT | wx.RIGHT)

        #Launch button
        btn_id = wx.NewId()
        btn = wx.Button(pan, btn_id, 'Launch', style=wx.BU_EXACTFIT |
wx.BU_RIGHT )
        self.Bind(wx.EVT_BUTTON, self.OnLaunch, id=btn_id)
        vbox.Add(btn, border=5, flag=wx.ALL)
        #add id to dict
        self.btn_ids[btn_id] = game

        self.main_sizer.Add(pan, border=5, flag=wx.ALL | wx.EXPAND)
[/code]

Some of the text doesn't even show up until I resize the window.

Here are a few examples:

'Launcher: /home/oblivion/wine/c/programme/war3_118/' doesn't wrap
whereas 'Enemy Territory' does.

And then a simple line like 'Arguments: -opengl' shows up as
'Arguments: -' until I resize the window, upon which the whole thing is
displayed.

I'm not sure if I'm being clear enough, so please let me know if I'm not.

Thanks.