R: Adding page dynamically does not work on Windows

Gatti Gianluca <[email protected]> Wed, 17 Jun 2026 07:01:56 +0000
Newsgroups gmane.comp.lib.wxwindows.general
Message-ID <DU0PR10MB5728D8F94DFD8F6BA03A28EB9EE42@DU0PR10MB5728.EURPRD10.PROD.OUTLOOK.COM>
--_000_DU0PR10MB5728D8F94DFD8F6BA03A28EB9EE42DU0PR10MB5728EURP_
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

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=
0PR10MB5728D8F94DFD8F6BA03A28EB9EE42%40DU0PR10MB5728.EURPRD10.PROD.OUTLOOK.=
COM.

--_000_DU0PR10MB5728D8F94DFD8F6BA03A28EB9EE42DU0PR10MB5728EURP_
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);">
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"elementToProof" style=3D"font-family: Aptos, Aptos_EmbeddedFo=
nt, Aptos_MSFontService, Calibri, Helvetica, sans-serif; font-size: 11pt; c=
olor: 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"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;">
<tbody>
<tr>
<td style=3D"text-align: left; text-indent: 0px; padding: 0cm; width: 0.3pt=
;"></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);">
Thank you,</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);">
Gianluca</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> Larry Bruce Daniel &lt;=
[email protected]&gt;<br>
<b>Inviato:</b> marted=C3=AC 16 giugno 2026 16:43<br>
<b>A:</b> Gatti Gianluca &lt;[email protected]&gt;<br>
<b>Oggetto:</b> Re: Adding page dynamically does not work on Windows</font>
<div>&nbsp;</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_pfptBannerswo95fr" style=3D"display:bl=
ock!important; text-align:left!important; margin:0 0 10px 0!important; padd=
ing:7px 16px 8px 16px!important; border-radius:4px!important; min-width:200=
px!important; background-color:#f9d374!important; background-color:#f9d374;=
 border-top:4px solid #beb3a1!important; border-top:4px solid #beb3a1">
<div id=3D"x_pfptBannerswo95fr" style=3D"float:left!important; display:bloc=
k!important; margin:1px 0 1px 0!important; max-width:600px!important">
<div id=3D"x_pfptBannerswo95fr" style=3D"display:block!important; visibilit=
y:visible!important; background-color:#f9d374!important; color:#000000!impo=
rtant; color:#000000; font-family:'Arial',sans-serif!important; font-family=
:'Arial',sans-serif; font-weight:bold!important; font-weight:bold; font-siz=
e:14px!important; line-height:1.29!important; line-height:1.29">
This Message Is From an External Sender </div>
<div id=3D"x_pfptBannerswo95fr" style=3D"display:block!important; visibilit=
y:visible!important; background-color:#f9d374!important; color:#000000!impo=
rtant; color:#000000; font-weight:normal; font-family:'Arial',sans-serif!im=
portant; font-family:'Arial',sans-serif; font-size:12px!important; line-hei=
ght: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">
&nbsp;</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_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_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_elementToProof" style=3D"text-align:left; text-indent:0px; =
background-color:rgb(255,255,255); margin:0px; font-family:Aptos,Aptos_Embe=
ddedFont,Aptos_MSFontService,Calibri,Helvetica,sans-serif; font-size:11pt; =
color:rgb(0,0,0)">
Hello,</div>
<div class=3D"x_elementToProof" style=3D"text-align:left; text-indent:0px; =
background-color:rgb(255,255,255); margin:0px; font-family:Aptos,Aptos_Embe=
ddedFont,Aptos_MSFontService,Calibri,Helvetica,sans-serif; font-size:11pt; =
color:rgb(0,0,0)">
<br>
</div>
<div class=3D"x_elementToProof" style=3D"text-align:left; text-indent:0px; =
background-color:rgb(255,255,255); margin:0px; font-family:Aptos,Aptos_Embe=
ddedFont,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_elementToProof" style=3D"text-align:left; text-indent:0px; =
background-color:rgb(255,255,255); margin:0px; font-family:Aptos,Aptos_Embe=
ddedFont,Aptos_MSFontService,Calibri,Helvetica,sans-serif; font-size:11pt; =
color:rgb(0,0,0)">
<br>
</div>
<div class=3D"x_elementToProof" style=3D"text-align:left; text-indent:0px; =
background-color:rgb(255,255,255); margin:0px; font-family:Aptos,Aptos_Embe=
ddedFont,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_elementToProof" style=3D"text-align:left; text-indent:0px; =
background-color:rgb(255,255,255); margin:0px; font-family:Aptos,Aptos_Embe=
ddedFont,Aptos_MSFontService,Calibri,Helvetica,sans-serif; font-size:11pt; =
color:rgb(0,0,0)">
<br>
</div>
<div class=3D"x_elementToProof" style=3D"text-align:left; text-indent:0px; =
background-color:rgb(255,255,255); margin:0px; font-family:Aptos,Aptos_Embe=
ddedFont,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-&gt;m_auinotebook1-&gt;<b>Ad=
dPage</b>(<b>new</b>&nbsp;MyPanel(_my_dialog), &quot;&quot;);</div>
<div class=3D"x_elementToProof" style=3D"text-align:left; text-indent:0px; =
background-color:rgb(255,255,255); margin:0px; font-family:Aptos,Aptos_Embe=
ddedFont,Aptos_MSFontService,Calibri,Helvetica,sans-serif; font-size:11pt; =
color:rgb(0,0,0)">
<br>
</div>
<div class=3D"x_elementToProof" style=3D"text-align:left; text-indent:0px; =
background-color:rgb(255,255,255); margin:0px; font-family:Aptos,Aptos_Embe=
ddedFont,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_elementToProof" style=3D"text-align:left; text-indent:0px; =
background-color:rgb(255,255,255); margin:0px; font-family:Aptos,Aptos_Embe=
ddedFont,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_elementToProof" style=3D"text-align:left; text-indent:0px; =
background-color:rgb(255,255,255); margin:0px; font-family:Aptos,Aptos_Embe=
ddedFont,Aptos_MSFontService,Calibri,Helvetica,sans-serif; font-size:11pt; =
color:rgb(0,0,0)">
<br>
</div>
<div class=3D"x_elementToProof" style=3D"text-align:left; text-indent:0px; =
background-color:rgb(255,255,255); margin:0px; font-family:Aptos,Aptos_Embe=
ddedFont,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_elementToProof" style=3D"text-align:left; text-indent:0px; =
background-color:rgb(255,255,255); margin:0px; font-family:Aptos,Aptos_Embe=
ddedFont,Aptos_MSFontService,Calibri,Helvetica,sans-serif; font-size:11pt; =
color:rgb(0,0,0)">
<br>
</div>
<div class=3D"x_elementToProof" style=3D"text-align:left; text-indent:0px; =
background-color:rgb(255,255,255); margin:0px; font-family:Aptos,Aptos_Embe=
ddedFont,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_elementToProof" style=3D"text-align:left; text-indent:0px; =
background-color:rgb(255,255,255); margin:0px; font-family:Aptos,Aptos_Embe=
ddedFont,Aptos_MSFontService,Calibri,Helvetica,sans-serif; font-size:11pt; =
color:rgb(0,0,0)">
<br>
</div>
<div class=3D"x_elementToProof" style=3D"text-align:left; text-indent:0px; =
background-color:rgb(255,255,255); margin:0px; font-family:Aptos,Aptos_Embe=
ddedFont,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_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>
-- <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_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&quot; 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_moz-txt=
-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&amp;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>
</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&quot; 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/DU0PR10MB5728D8F94DFD8F6BA03A28EB9EE42%40DU0PR10MB5728.EURPRD10.PR=
OD.OUTLOOK.COM?utm_medium=3Demail&utm_source=3Dfooter">https://groups.googl=
e.com/d/msgid/wx-users/DU0PR10MB5728D8F94DFD8F6BA03A28EB9EE42%40DU0PR10MB57=
28.EURPRD10.PROD.OUTLOOK.COM</a>.<br />

--_000_DU0PR10MB5728D8F94DFD8F6BA03A28EB9EE42DU0PR10MB5728EURP_--