R: Adding page dynamically does not work on Windows
Gatti Gianluca <[email protected]> Thu, 18 Jun 2026 06:41:39 +0000
| Newsgroups | gmane.comp.lib.wxwindows.general |
|---|---|
| Message-ID | <DU0PR10MB572887165FA61071DEBD7A189EE32@DU0PR10MB5728.EURPRD10.PROD.OUTLOOK.COM> |
--_000_DU0PR10MB572887165FA61071DEBD7A189EE32DU0PR10MB5728EURP_ Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable I tried to increase the stack size changing the compiling options, but the = result is the same. I think that maybe this is not the root of the problem, also because the ob= ject I use are pointers, therefore allocated on the heap. Does anyone have any suggestions? Thank you very much, Gianluca ________________________________ Da: Gatti Gianluca <[email protected]> Inviato: mercoled=C3=AC 17 giugno 2026 09:01 A: Larry Bruce Daniel <[email protected]> Cc: [email protected] <[email protected]> Oggetto: R: Adding page dynamically does not work on Windows Thank you Bruce for the answer; but, from a practically point of view, what= does it mean? How can I increase the stack on Windows to fix the problem? It is a very minimal program, so I'm surprised that this can not work on Wi= ndows. Thank you, Gianluca ________________________________ Da: Larry Bruce Daniel <[email protected]> Inviato: marted=C3=AC 16 giugno 2026 16:43 A: Gatti Gianluca <[email protected]> Oggetto: Re: Adding page dynamically does not work on Windows Linux has a larger stack than Windows On 6/16/26 8:=E2=80=8A06 AM, Gatti Gi= anluca wrote: Hello, I have a problem adding dynamically a page (a Panel) o= n a notebook (a wxAuiNotebook): on Linux it does work correctly, while on W= indows does not work. It ZjQcmQRYFpfptBannerStart This Message Is From an External Sender This message came from outside your organization. ZjQcmQRYFpfptBannerEnd Linux has a larger stack than Windows On 6/16/26 8:06 AM, Gatti Gianluca wrote: Hello, I have a problem adding dynamically a page (a Panel) on a notebook (a wxAui= Notebook): on Linux it does work correctly, while on Windows does not work.= It does not show the page (with its internal widgets) I added. This is the line of code (I think it is not necessary share all the source = code): =E2=80=82=E2=80=82=E2=80=82=E2=80=82_my_dialog->m_auinotebook1->AddPage(new= MyPanel(_my_dialog), ""); I tried whith wxWidgets version 3.3.2 and 3.2.10. The compiler I used is GCC (with Mingw on Windows). As I said before, on Linux (Ubuntu 24) it does work, therefore I can not un= derstand the problem. Thank you in advance for your suggestions. =E2=80=82=E2=80=82=E2=80=82=E2=80=82Gianluca Gatti -- Please read https://www.wxwidgets.org/support/mlhowto.htm<https://urldefens= e.com/v3/__https://www.wxwidgets.org/support/mlhowto.htm__;!!EAvW5M_HCdSncw= !OzRqkjIsVtGl5q4VjRjH-hYnxYiVZGIHWrtcbta8WuTTVE4KN1mg1PBDpTI8Tph7Odm18_UWy1= 5_24NBKDIIiPXes12DteQBntRER9Y$> before posting. --- You received this message because you are subscribed to the Google Groups "= wx-users" group. To unsubscribe from this group and stop receiving emails from it, send an e= mail to [email protected]<mailto:wx-users+unsubscribe@g= ooglegroups.com>. To view this discussion visit https://groups.google.com/d/msgid/wx-users/DU= 0PR10MB572810F0BD45DFB97C578D0C9EE52%40DU0PR10MB5728.EURPRD10.PROD.OUTLOOK.= COM<https://urldefense.com/v3/__https://groups.google.com/d/msgid/wx-users/= DU0PR10MB572810F0BD45DFB97C578D0C9EE52*40DU0PR10MB5728.EURPRD10.PROD.OUTLOO= K.COM?utm_medium=3Demail&utm_source=3Dfooter__;JQ!!EAvW5M_HCdSncw!OzRqkjIsV= tGl5q4VjRjH-hYnxYiVZGIHWrtcbta8WuTTVE4KN1mg1PBDpTI8Tph7Odm18_UWy15_24NBKDII= iPXes12DteQB6UP0_9k$>. --=20 Please read https://www.wxwidgets.org/support/mlhowto.htm before posting. ---=20 You received this message because you are subscribed to the Google Groups "= wx-users" group. To unsubscribe from this group and stop receiving emails from it, send an e= mail to [email protected]. To view this discussion visit https://groups.google.com/d/msgid/wx-users/DU= 0PR10MB572887165FA61071DEBD7A189EE32%40DU0PR10MB5728.EURPRD10.PROD.OUTLOOK.= COM. --_000_DU0PR10MB572887165FA61071DEBD7A189EE32DU0PR10MB5728EURP_ Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable <html> <head> <meta http-equiv=3D"Content-Type" content=3D"text/html; charset=3Dutf-8"> <style type=3D"text/css" style=3D"display:none;"> P {margin-top:0;margin-bo= ttom:0;} </style> </head> <body dir=3D"ltr"> <div class=3D"elementToProof" style=3D"font-family: Aptos, Aptos_EmbeddedFo= nt, Aptos_MSFontService, Calibri, Helvetica, sans-serif; font-size: 11pt; c= olor: rgb(0, 0, 0);"> I tried to increase the stack size changing the compiling options, but the = result is the same.</div> <div class=3D"elementToProof" style=3D"font-family: Aptos, Aptos_EmbeddedFo= nt, Aptos_MSFontService, Calibri, Helvetica, sans-serif; font-size: 11pt; c= olor: rgb(0, 0, 0);"> <br> </div> <div class=3D"elementToProof" style=3D"font-family: Aptos, Aptos_EmbeddedFo= nt, Aptos_MSFontService, Calibri, Helvetica, sans-serif; font-size: 11pt; c= olor: rgb(0, 0, 0);"> I think that maybe this is not the root of the problem, also because the ob= ject I use are pointers, therefore allocated on the heap.</div> <div class=3D"elementToProof" style=3D"font-family: Aptos, Aptos_EmbeddedFo= nt, Aptos_MSFontService, Calibri, Helvetica, sans-serif; font-size: 11pt; c= olor: rgb(0, 0, 0);"> <br> </div> <pre id=3D"tw-target-text" class=3D"elementToProof" style=3D"margin: -2px 0= px; padding-top: 2px; padding-right: 0.14em; padding-bottom: 2px; width: 27= 0px;"><div class=3D"elementToProof" style=3D"direction: ltr; text-align: le= ft; text-indent: 0px; line-height: 36px; white-space: pre-wrap; font-family= : Aptos, Aptos_EmbeddedFont, Aptos_MSFontService, Calibri, Helvetica, sans-= serif; font-size: 11pt; color: rgb(0, 0, 0);">Does anyone have any suggesti= ons?</div><div class=3D"elementToProof" style=3D"direction: ltr; text-align= : left; text-indent: 0px; line-height: 36px; white-space: normal; font-fami= ly: Aptos, Aptos_EmbeddedFont, Aptos_MSFontService, Calibri, Helvetica, san= s-serif; font-size: 11pt; color: rgb(0, 0, 0);">Thank you very much,</div><= div class=3D"elementToProof" style=3D"direction: ltr; text-align: left; tex= t-indent: 0px; line-height: 36px; font-family: Aptos, Aptos_EmbeddedFont, A= ptos_MSFontService, Calibri, Helvetica, sans-serif; font-size: 11pt; color:= rgb(0, 0, 0);">Gianluca</div></pre> <div class=3D"elementToProof" style=3D"font-family: Aptos, Aptos_EmbeddedFo= nt, Aptos_MSFontService, Calibri, Helvetica, sans-serif; font-size: 11pt; c= olor: rgb(0, 0, 0);"> <br> </div> <div id=3D"Signature" class=3D"elementToProof"> <div class=3D"elementToProof" style=3D"background-color: rgb(255, 255, 255)= ; margin: 0px;"> <table cellspacing=3D"0" cellpadding=3D"0" border=3D"0" style=3D"text-align= : left; text-indent: 0px; width: 450pt;" id=3D"table_0"> <tbody> <tr> <td style=3D"text-align: left; text-indent: 0px; padding: 0cm; width: 0.3pt= ; height: 22px; box-sizing: border-box;"> </td> </tr> </tbody> </table> </div> <div class=3D"elementToProof" style=3D"font-family: Aptos, Aptos_EmbeddedFo= nt, Aptos_MSFontService, Calibri, Helvetica, sans-serif; font-size: 11pt; c= olor: rgb(0, 0, 0);"> <br> </div> </div> <div id=3D"appendonsend"></div> <hr style=3D"display:inline-block;width:98%" tabindex=3D"-1"> <div id=3D"divRplyFwdMsg" dir=3D"ltr"><font face=3D"Calibri, sans-serif" st= yle=3D"font-size:11pt" color=3D"#000000"><b>Da:</b> Gatti Gianluca <Gian= [email protected]><br> <b>Inviato:</b> mercoled=C3=AC 17 giugno 2026 09:01<br> <b>A:</b> Larry Bruce Daniel <[email protected]><br> <b>Cc:</b> [email protected] <[email protected]><br> <b>Oggetto:</b> R: Adding page dynamically does not work on Windows</font> <div> </div> </div> <style type=3D"text/css" style=3D"display:none"> <!-- p {margin-top:0; margin-bottom:0} --> </style> <div dir=3D"ltr"> <div class=3D"x_elementToProof" style=3D"font-family:Aptos,Aptos_EmbeddedFo= nt,Aptos_MSFontService,Calibri,Helvetica,sans-serif; font-size:11pt; color:= rgb(0,0,0)"> Thank you Bruce for the answer; but, from a practically point of view, what= does it mean? How can I increase the stack on Windows to fix the problem?<= /div> <div class=3D"x_elementToProof" style=3D"font-family:Aptos,Aptos_EmbeddedFo= nt,Aptos_MSFontService,Calibri,Helvetica,sans-serif; font-size:11pt; color:= rgb(0,0,0)"> It is a very minimal program, so I'm surprised that this can not work on Wi= ndows.</div> <div class=3D"x_elementToProof" style=3D"font-family:Aptos,Aptos_EmbeddedFo= nt,Aptos_MSFontService,Calibri,Helvetica,sans-serif; font-size:11pt; color:= rgb(0,0,0)"> <br> </div> <div id=3D"x_Signature" class=3D"x_elementToProof"> <div class=3D"x_elementToProof" style=3D"background-color:rgb(255,255,255);= margin:0px"> <table cellspacing=3D"0" cellpadding=3D"0" border=3D"0" style=3D"text-align= :left; text-indent:0px; width:450pt"> <tbody> <tr> <td style=3D"text-align:left; text-indent:0px; padding:0cm; width:0.3pt"></= td> </tr> </tbody> </table> </div> <div class=3D"x_elementToProof" style=3D"font-family:Aptos,Aptos_EmbeddedFo= nt,Aptos_MSFontService,Calibri,Helvetica,sans-serif; font-size:11pt; color:= rgb(0,0,0)"> Thank you,</div> <div class=3D"x_elementToProof" style=3D"font-family:Aptos,Aptos_EmbeddedFo= nt,Aptos_MSFontService,Calibri,Helvetica,sans-serif; font-size:11pt; color:= rgb(0,0,0)"> Gianluca</div> </div> <div id=3D"x_appendonsend"></div> <hr tabindex=3D"-1" style=3D"display:inline-block; width:98%"> <div id=3D"x_divRplyFwdMsg" dir=3D"ltr"><font face=3D"Calibri, sans-serif" = color=3D"#000000" style=3D"font-size:11pt"><b>Da:</b> Larry Bruce Daniel &l= t;[email protected]><br> <b>Inviato:</b> marted=C3=AC 16 giugno 2026 16:43<br> <b>A:</b> Gatti Gianluca <[email protected]><br> <b>Oggetto:</b> Re: Adding page dynamically does not work on Windows</font> <div> </div> </div> <div> <div style=3D"display:none!important; display:none; visibility:hidden; font= -size:1px; color:#ffffff; line-height:1px; max-height:0px; opacity:0; overf= low:hidden"> Linux has a larger stack than Windows On 6/16/26 8:=E2=80=8A06 AM, Gatti Gi= anluca wrote: Hello, I have a problem adding dynamically a page (a Panel) o= n a notebook (a wxAuiNotebook): on Linux it does work correctly, while on W= indows does not work. It</div> <div style=3D"display:none!important; display:none; visibility:hidden; font= -size:1px; color:#ffffff; line-height:1px; max-height:0px; opacity:0; overf= low:hidden"> ZjQcmQRYFpfptBannerStart</div> <div dir=3D"ltr" lang=3D"en" id=3D"x_x_pfptBannerswo95fr" style=3D"display:= block!important; text-align:left!important; margin:0 0 10px 0!important; pa= dding:7px 16px 8px 16px!important; border-radius:4px!important; min-width:2= 00px!important; background-color:#f9d374!important; background-color:#f9d37= 4; border-top:4px solid #beb3a1!important; border-top:4px solid #beb3a1"> <div id=3D"x_x_pfptBannerswo95fr" style=3D"float:left!important; display:bl= ock!important; margin:1px 0 1px 0!important; max-width:600px!important"> <div id=3D"x_x_pfptBannerswo95fr" style=3D"display:block!important; visibil= ity:visible!important; background-color:#f9d374!important; color:#000000!im= portant; color:#000000; font-family:'Arial',sans-serif!important; font-fami= ly:'Arial',sans-serif; font-weight:bold!important; font-weight:bold; font-s= ize:14px!important; line-height:1.29!important; line-height:1.29"> This Message Is From an External Sender </div> <div id=3D"x_x_pfptBannerswo95fr" style=3D"display:block!important; visibil= ity:visible!important; background-color:#f9d374!important; color:#000000!im= portant; color:#000000; font-weight:normal; font-family:'Arial',sans-serif!= important; font-family:'Arial',sans-serif; font-size:12px!important; line-h= eight:1.5!important; line-height:1.5; margin-top:2px!important"> This message came from outside your organization. </div> </div> <div style=3D"clear:both!important; display:block!important; visibility:hid= den!important; line-height:0!important; font-size:0.01px!important; height:= 0px"> </div> </div> <div style=3D"display:none!important; display:none; visibility:hidden; font= -size:1px; color:#ffffff; line-height:1px; max-height:0px; opacity:0; overf= low:hidden"> ZjQcmQRYFpfptBannerEnd</div> <style> <!-- #x_x_pfptBannerswo95fr {display:block!important; visibility:visible!important; opacity:1!important; background-color:#f9d374!important; max-width:none!important; max-height:none!important} html:root, html:root > div {display:block!important; visibility:visible!important; opacity:1!important} --> </style> <p>Linux has a larger stack than Windows</p> <div class=3D"x_x_moz-cite-prefix">On 6/16/26 8:06 AM, Gatti Gianluca wrote= :<br> </div> <blockquote type=3D"cite"><style type=3D"text/css" style=3D"display:none"> <!-- p {margin-top:0; margin-bottom:0} --> </style> <div class=3D"x_x_elementToProof" style=3D"text-align:left; text-indent:0px= ; background-color:rgb(255,255,255); margin:0px; font-family:Aptos,Aptos_Em= beddedFont,Aptos_MSFontService,Calibri,Helvetica,sans-serif; font-size:11pt= ; color:rgb(0,0,0)"> Hello,</div> <div class=3D"x_x_elementToProof" style=3D"text-align:left; text-indent:0px= ; background-color:rgb(255,255,255); margin:0px; font-family:Aptos,Aptos_Em= beddedFont,Aptos_MSFontService,Calibri,Helvetica,sans-serif; font-size:11pt= ; color:rgb(0,0,0)"> <br> </div> <div class=3D"x_x_elementToProof" style=3D"text-align:left; text-indent:0px= ; background-color:rgb(255,255,255); margin:0px; font-family:Aptos,Aptos_Em= beddedFont,Aptos_MSFontService,Calibri,Helvetica,sans-serif; font-size:11pt= ; color:rgb(0,0,0)"> I have a problem adding dynamically a page (a Panel) on a notebook (a wxAui= Notebook): on Linux it does work correctly, while on Windows does not work.= It does not show the page (with its internal widgets) I added.</div> <div class=3D"x_x_elementToProof" style=3D"text-align:left; text-indent:0px= ; background-color:rgb(255,255,255); margin:0px; font-family:Aptos,Aptos_Em= beddedFont,Aptos_MSFontService,Calibri,Helvetica,sans-serif; font-size:11pt= ; color:rgb(0,0,0)"> <br> </div> <div class=3D"x_x_elementToProof" style=3D"text-align:left; text-indent:0px= ; background-color:rgb(255,255,255); margin:0px; font-family:Aptos,Aptos_Em= beddedFont,Aptos_MSFontService,Calibri,Helvetica,sans-serif; font-size:11pt= ; color:rgb(0,0,0)"> This is the line of code (I think it is not necessary share all the source = code):</div> <div class=3D"x_x_elementToProof" style=3D"text-align:left; text-indent:0px= ; background-color:rgb(255,255,255); margin:0px; font-family:Aptos,Aptos_Em= beddedFont,Aptos_MSFontService,Calibri,Helvetica,sans-serif; font-size:11pt= ; color:rgb(0,0,0)"> <br> </div> <div class=3D"x_x_elementToProof" style=3D"text-align:left; text-indent:0px= ; background-color:rgb(255,255,255); margin:0px; font-family:Aptos,Aptos_Em= beddedFont,Aptos_MSFontService,Calibri,Helvetica,sans-serif; font-size:11pt= ; color:rgb(0,0,0)"> =E2=80=82=E2=80=82=E2=80=82=E2=80=82_my_dialog->m_auinotebook1-><b>Ad= dPage</b>(<b>new</b> MyPanel(_my_dialog), "");</div> <div class=3D"x_x_elementToProof" style=3D"text-align:left; text-indent:0px= ; background-color:rgb(255,255,255); margin:0px; font-family:Aptos,Aptos_Em= beddedFont,Aptos_MSFontService,Calibri,Helvetica,sans-serif; font-size:11pt= ; color:rgb(0,0,0)"> <br> </div> <div class=3D"x_x_elementToProof" style=3D"text-align:left; text-indent:0px= ; background-color:rgb(255,255,255); margin:0px; font-family:Aptos,Aptos_Em= beddedFont,Aptos_MSFontService,Calibri,Helvetica,sans-serif; font-size:11pt= ; color:rgb(0,0,0)"> I tried whith wxWidgets version 3.3.2 and 3.2.10.</div> <div class=3D"x_x_elementToProof" style=3D"text-align:left; text-indent:0px= ; background-color:rgb(255,255,255); margin:0px; font-family:Aptos,Aptos_Em= beddedFont,Aptos_MSFontService,Calibri,Helvetica,sans-serif; font-size:11pt= ; color:rgb(0,0,0)"> The compiler I used is GCC (with Mingw on Windows).</div> <div class=3D"x_x_elementToProof" style=3D"text-align:left; text-indent:0px= ; background-color:rgb(255,255,255); margin:0px; font-family:Aptos,Aptos_Em= beddedFont,Aptos_MSFontService,Calibri,Helvetica,sans-serif; font-size:11pt= ; color:rgb(0,0,0)"> <br> </div> <div class=3D"x_x_elementToProof" style=3D"text-align:left; text-indent:0px= ; background-color:rgb(255,255,255); margin:0px; font-family:Aptos,Aptos_Em= beddedFont,Aptos_MSFontService,Calibri,Helvetica,sans-serif; font-size:11pt= ; color:rgb(0,0,0)"> As I said before, on Linux (Ubuntu 24) it does work, therefore I can not un= derstand the problem.</div> <div class=3D"x_x_elementToProof" style=3D"text-align:left; text-indent:0px= ; background-color:rgb(255,255,255); margin:0px; font-family:Aptos,Aptos_Em= beddedFont,Aptos_MSFontService,Calibri,Helvetica,sans-serif; font-size:11pt= ; color:rgb(0,0,0)"> <br> </div> <div class=3D"x_x_elementToProof" style=3D"text-align:left; text-indent:0px= ; background-color:rgb(255,255,255); margin:0px; font-family:Aptos,Aptos_Em= beddedFont,Aptos_MSFontService,Calibri,Helvetica,sans-serif; font-size:11pt= ; color:rgb(0,0,0)"> Thank you in advance for your suggestions.</div> <div class=3D"x_x_elementToProof" style=3D"text-align:left; text-indent:0px= ; background-color:rgb(255,255,255); margin:0px; font-family:Aptos,Aptos_Em= beddedFont,Aptos_MSFontService,Calibri,Helvetica,sans-serif; font-size:11pt= ; color:rgb(0,0,0)"> <br> </div> <div class=3D"x_x_elementToProof" style=3D"text-align:left; text-indent:0px= ; background-color:rgb(255,255,255); margin:0px; font-family:Aptos,Aptos_Em= beddedFont,Aptos_MSFontService,Calibri,Helvetica,sans-serif; font-size:11pt= ; color:rgb(0,0,0)"> =E2=80=82=E2=80=82=E2=80=82=E2=80=82Gianluca Gatti</div> <div class=3D"x_x_elementToProof" style=3D"font-family:Aptos,Aptos_Embedded= Font,Aptos_MSFontService,Calibri,Helvetica,sans-serif; font-size:11pt; colo= r:rgb(0,0,0)"> <br> </div> -- <br> Please read <a href=3D"https://urldefense.com/v3/__https://www.wxwidgets.or= g/support/mlhowto.htm__;!!EAvW5M_HCdSncw!OzRqkjIsVtGl5q4VjRjH-hYnxYiVZGIHWr= tcbta8WuTTVE4KN1mg1PBDpTI8Tph7Odm18_UWy15_24NBKDIIiPXes12DteQBntRER9Y$" cla= ss=3D"x_x_moz-txt-link-freetext"> https://www.wxwidgets.org/support/mlhowto.htm</a> before posting.<br> --- <br> You received this message because you are subscribed to the Google Groups &= quot;wx-users" group.<br> To unsubscribe from this group and stop receiving emails from it, send an e= mail to <a href=3D"mailto:[email protected]" class=3D"x_x_moz-t= xt-link-freetext"> [email protected]</a>.<br> To view this discussion visit <a href=3D"https://urldefense.com/v3/__https:= //groups.google.com/d/msgid/wx-users/DU0PR10MB572810F0BD45DFB97C578D0C9EE52= *40DU0PR10MB5728.EURPRD10.PROD.OUTLOOK.COM?utm_medium=3Demail&utm_sourc= e=3Dfooter__;JQ!!EAvW5M_HCdSncw!OzRqkjIsVtGl5q4VjRjH-hYnxYiVZGIHWrtcbta8WuT= TVE4KN1mg1PBDpTI8Tph7Odm18_UWy15_24NBKDIIiPXes12DteQB6UP0_9k$"> https://groups.google.com/d/msgid/wx-users/DU0PR10MB572810F0BD45DFB97C578D0= C9EE52%40DU0PR10MB5728.EURPRD10.PROD.OUTLOOK.COM</a>.<br> </blockquote> </div> </div> </body> </html> <p></p> -- <br /> Please read <a href=3D"https://www.wxwidgets.org/support/mlhowto.htm">https= ://www.wxwidgets.org/support/mlhowto.htm</a> before posting.<br /> --- <br /> You received this message because you are subscribed to the Google Groups &= quot;wx-users" group.<br /> To unsubscribe from this group and stop receiving emails from it, send an e= mail to <a href=3D"mailto:[email protected]">wx-users+u= [email protected]</a>.<br /> To view this discussion visit <a href=3D"https://groups.google.com/d/msgid/= wx-users/DU0PR10MB572887165FA61071DEBD7A189EE32%40DU0PR10MB5728.EURPRD10.PR= OD.OUTLOOK.COM?utm_medium=3Demail&utm_source=3Dfooter">https://groups.googl= e.com/d/msgid/wx-users/DU0PR10MB572887165FA61071DEBD7A189EE32%40DU0PR10MB57= 28.EURPRD10.PROD.OUTLOOK.COM</a>.<br /> --_000_DU0PR10MB572887165FA61071DEBD7A189EE32DU0PR10MB5728EURP_--