[wxPython] wxMDIParentFrame, window-menu and locale language

Hi Robin

Another approach is to not use the default Windows menu, but make and
maintain your own. If you use the wxFRAME_NO_WINDOW_MENU on the MDI frame
then it won't make the windows menu. If you use the same IDs for your

menu

then the default event handlers shoudl still work. Unfortuantly those IDs
aren't wrapped in wxPython yet so here they are:

thanks for the code analysis, I've looked a bit in mdi.cpp too...
but I won't compile the wx-Package / SIWG it, with german language.
So I tested your recommended approach, to make it on my own:

code snippet to do so:

menu = wxMenuBar()

IDM_WINDOWTILE = 4001
IDM_WINDOWTILEHOR = 4001
IDM_WINDOWCASCADE = 4002
IDM_WINDOWICONS = 4003
IDM_WINDOWNEXT = 4004
IDM_WINDOWTILEVERT = 4005

item2 = wxMenu()

item2.Append( IDM_WINDOWCASCADE, "Überlappend" )
item2.Append( IDM_WINDOWTILEVERT, "Nebeneinander" )
item2.Append( IDM_WINDOWTILEHOR, "Untereinander" )
item2.AppendSeparator()
item2.Append( IDM_WINDOWICONS, "Symbole anordnen" )
item2.Append( IDM_WINDOWNEXT, "Nächstes" )
menu.Append( item2, "&Fenster" )

====================QUESTION=============================
it works, but two probs:

* IDM_WINDOWICONS seems to be unfunctional (nothing happens, and strange:
                   with default 'window' menu it isn't functional too?!?)
* and you guess it, no actual dynamically window-list

first point is irrelevant for me
second point is needed... any tips (another hook)?

thanks again

Peter
(=PA=)

* and you guess it, no actual dynamically window-list

Yes, if you are using your own menu then you will need to manage the window
list yourself too.

···

--
Robin Dunn
Software Craftsman
robin@AllDunn.com Java give you jitters?
http://wxPython.org Relax with wxPython!