Volt9000
May 31st, 2009, 07:18 PM
I've just started learning wxPython, and ran into something which has be a bit confused.
In code, I'm writing things like wx.Frame, wx.App, wx.Menu, etc. But when I go to the online docs and check out the class reference, I see wxFrame, wxApp, wxMenu, etc.
I'm assuming that wx.Frame = wxFrame, but why are the class names different? I know that the wx. prefix is referring to the namespace called "wx" and the class itself is called "Frame", so why then do the docs refer to the class name as "wxFrame"?
In code, I'm writing things like wx.Frame, wx.App, wx.Menu, etc. But when I go to the online docs and check out the class reference, I see wxFrame, wxApp, wxMenu, etc.
I'm assuming that wx.Frame = wxFrame, but why are the class names different? I know that the wx. prefix is referring to the namespace called "wx" and the class itself is called "Frame", so why then do the docs refer to the class name as "wxFrame"?