//-----------------------------------------------------------------------------
extern const char *wxFrameNameStr;
-extern wxList wxTopLevelWindows;
+extern wxWindowList wxTopLevelWindows;
//-----------------------------------------------------------------------------
// global function