python - wxPython panel redraw in windows -


I am trying to create several different pages where I need to show different texts and buttons. What did I do, I made a panel, and then several sizers on it, and then in the next page, I deleted the panel and made the panel again with different material / shadows.

It worked well in Linux, but when I tried the same source in windows, the first page was fine, but in the second page, it seems that the sayers were not implemented. .

I made many efforts. Updates () and. Refresh (), but nothing seems to work.

It seems that when I maximize the window, the shaft is applied and the layout becomes normal (again, after the panel.) Dastari () and a new panel generation, the layout is again messy .)

How do I get two different "pages" (I click on a button and how it goes II page) with different content and sizers in Windows? Calling layout on the widget's parents is the best way to do this so that you are adding or deleting widgets. Sometimes you need to call refresh () to redraise it, though it may only be necessary when you are using freeze / thaw.

Comments