Lioz Cohn wrote:

  Hi,
I hope you managed to find the cause of your problem since posting... if not (and for those interested):

I have a wizard with a page + panel As can be seen from the attached picture the combo box and the check Box are corrupted.

<snip>

  ############################
  $page1_panel->SetSizer(  $page1_panel_sizer);
  $page1_main_sizer->Add($page1_panel_sizer,1,wxEXPAND);

change the line above to:

  $page1_main_sizer->Add($page1_panel,1,wxEXPAND);

$page1_panel_sizer manages the size of $page1_panel subcontrols, but you need to add the containing control to the sizer.

  ###############################
  $page1->SetSizer($page1_main_sizer);
$page1->SetAutoLayout(1);

Regards,
Mattia

Reply via email to