wxPy program mainframe as maximized

Hi !

I want to create multios app.

In windows I simply maximize the main frame, because frame.maximize is working good in windows.

But when I try it under Suse 9.0 KDE 3.1, it is dropping an error:

self.ShowFullScreen(1,style=0)

Exit code: 0
python -u wxAudioTagger.py

Gdk-CRITICAL **: file gdkwindow.c: line 1479 (gdk_window_get_origin): assertion `window != NULL' failed.

Gdk-CRITICAL **: file gdkwindow.c: line 850 (gdk_window_move_resize): assertion `window != NULL' failed.

Exit code: 0

So I cannot use this thing to maximize the window.

How can I do it in other way ?

Thanx for every help:
FT

fowlertrainer wrote:

Hi !

I want to create multios app.

In windows I simply maximize the main frame, because frame.maximize is working good in windows.

But when I try it under Suse 9.0 KDE 3.1, it is dropping an error:

self.ShowFullScreen(1,style=0)

Don't use style=0. If you want to not hide all the elements of the frame then just use self.Maximize()

ยทยทยท

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