Guidance
指路人
g.yi.org
Guidance Forums / wxWidgets (wxWindows) in C++ / double wxPanel & wxSizer problem

Register 
注册
Search 搜索
首页 
Home Home
Software
Upload

  
Forum List • Thread List • Reply • Refresh • New Topic • Search • Previous • Next First 1 Last
Message1. double wxPanel & wxSizer problem
#3341
Posted by: KaReL 2004-02-10 21:09:41
I have 1 wxFrame, I have 2 wxPanels built upon them.

They are never shown at the same time.

Now if I destroy them everytime I show the other panel, everything works perfectly.

Now if I create them both & do ->Show(TRUE/FALSE) ... They are not resized at all (both the panel and the controls which belong to the ->TopSizer()-sizer).


What could be the problem here?

------------------------
Website: www.KaReLs0ft.be
Message2. Re: double wxPanel & wxSizer problem
#3349
Posted by: upCASE 2004-02-11 18:27:39
Hi!
Played around with this a bit. Seems to be a problem in window.cpp. Problem is that Show() calls BringWindowToTop set with flags so that the window brought to top doesn't update size and position. Haven't found a proper solution yet and it may take a while, cause I'll have to do my laundry now :P

upCASE
-----------------------------------
If it was hard to write, it should be hard to read!- Do. Or do not. There is no try!
Forum List • Thread List • Reply • Refresh • New Topic • Search • Previous • Next First 1 Last
掌柜推荐
 
 
¥1,360.00 ·
 
 
¥271.00 ·
 
 
¥880.00 ·
 
 
¥980.00 ·
 
 
¥890.00 编辑
 
 
¥918.00 ·
© Sun 2024-11-24  Guidance Laboratory Inc.
Email:webmaster1g.yi.org Hits:0