import wx

class MyFrame(wx.Frame):
    def __init__(self):
        wx.Frame.__init__(self, None, wx.ID_ANY, "title", size=(200,10))
        self.CreateStatusBar()

        imgpath = "C:\\1.jpg"
        image = wx.Image( imgpath , wx.BITMAP_TYPE_ANY).ConvertToBitmap()
        image1 = wx.StaticBitmap( self, wx.ID_ANY, image )
        button1 = wx.Button( self, wx.ID_ANY, "test")

        root_layout = wx.BoxSizer( wx.HORIZONTAL )
        root_layout.Add( image1 )
        root_layout.Add( button1 )
        root_layout.Fit( self )
        
class myApp(wx.App):
    def OnInit( self ):
        frame = MyFrame()
        frame.Show(True)
        return True
    def OnClose( evt ):
        wx.Exit()

def main():
    app = myApp()
    app.MainLoop()

if __name__ == '__main__':
    main()