#Boa:Frame:Frame1

import wx

def create(parent):
    return Frame1(parent)

[wxID_FRAME1, wxID_FRAME1PANEL1, wxID_FRAME1STATICTEXT1,
] = [wx.NewId() for _init_ctrls in range(3)]

class Frame1(wx.Frame):
    def _init_ctrls(self, prnt):
        # generated method, don't edit
        wx.Frame.__init__(self, id=wxID_FRAME1, name='', parent=prnt,
              pos=wx.Point(0, 460), size=wx.Size(401, 252),
              style=wx.DEFAULT_FRAME_STYLE, title='Frame1')
        self.SetClientSize(wx.Size(393, 212))

        self.panel1 = wx.Panel(id=wxID_FRAME1PANEL1, name='panel1', parent=self,
              pos=wx.Point(0, 0), size=wx.Size(393, 212),
              style=wx.TAB_TRAVERSAL)
        self.panel1.Bind(wx.EVT_ENTER_WINDOW, self.OnPanel1EnterWindow)
        self.panel1.Bind(wx.EVT_LEAVE_WINDOW, self.OnPanel1LeaveWindow)

        self.staticText1 = wx.StaticText(id=wxID_FRAME1STATICTEXT1,
              label='this should change colors???', name='staticText1',
              parent=self.panel1, pos=wx.Point(88, 80), size=wx.Size(224, 16),
              style=wx.ALIGN_CENTRE)
        self.staticText1.SetToolTipString('')

    def __init__(self, parent):
        self._init_ctrls(parent)

    def OnPanel1EnterWindow(self, event):
        self.staticText1.SetForegroundColour(wx.Colour(255, 0, 128))
        self.staticText1.Show(False)
        self.staticText1.Show(True)

    def OnPanel1LeaveWindow(self, event):
        self.staticText1.SetForegroundColour(wx.Colour(0, 0, 0))
        self.staticText1.Show(False)
        self.staticText1.Show(True)
