anchor.diff:      InSizer = wxStaticBoxSizer:new(Box, ?wxVERTICAL),
       Refs = addArgs(Dialog, InSizer, 0, Argnum, []),
       ButtonSizer = wxBoxSizer:new(?wxHORIZONTAL),
  -    wxSizer:add(ButtonSizer, wxButton:new(Dialog, ?wxID_OK),
  -		[{proportion, 0}, {flag, ?wxRIGHT}, {border, 5}]),
  -    wxSizer:add(ButtonSizer, wxButton:new(Dialog, ?wxID_CANCEL),
  -		[{proportion, 0}, {flag, ?wxLEFT}, {border, 5}]),
  -    wxSizer:add(TopSizer, InSizer,
  -		[{proportion, 0}, {flag, ?wxEXPAND bor ?wxALL},
  -		 {border, 10}]),
  -    wxSizer:add(TopSizer, ButtonSizer,
  -                [{proportion, 0},
  -		 {flag, ?wxALIGN_CENTER bor
  -		        ?wxRIGHT bor ?wxLEFT bor ?wxBOTTOM},
  -		 {border, 10}]),
  +    _ = wxSizer:add(ButtonSizer, wxButton:new(Dialog, ?wxID_OK),
  +		    [{proportion, 0}, {flag, ?wxRIGHT}, {border, 5}]),
  +    _ = wxSizer:add(ButtonSizer, wxButton:new(Dialog, ?wxID_CANCEL),
  +		    [{proportion, 0}, {flag, ?wxLEFT}, {border, 5}]),
  +    _ = wxSizer:add(TopSizer, InSizer,
  +		    [{proportion, 0}, {flag, ?wxEXPAND bor ?wxALL},
  +		     {border, 10}]),
  +    _ = wxSizer:add(TopSizer, ButtonSizer,
  +		    [{proportion, 0},
  +		     {flag, ?wxALIGN_CENTER bor
  +			  ?wxRIGHT bor ?wxLEFT bor ?wxBOTTOM},
  +		     {border, 10}]),
       wxWindow:setSizer(Dialog, TopSizer),
  -    wxSizer:fit(TopSizer, Dialog),
  +    _ = wxSizer:fit(TopSizer, Dialog),
       case wxDialog:showModal(Dialog) of
   	?wxID_OK ->
               clearProbs(),
  
positive.code: 					 [{style, ?wxALIGN_RIGHT}]),
      ref_add(?PREB_ENABLED_CBOX, PrebEnabledCheckBox),
      wxCheckBox:setValue(PrebEnabledCheckBox, PrebEnabled),
      wxSizer:add(HorizSizer1,
  		wxStaticText:new(Dialog, ?wxID_ANY,
  				 "Enable preemption bounding:"),
  		[{proportion, 1}, {flag, ?wxALIGN_CENTER bor ?wxALL},
  		 {border, 0}]),
      wxSizer:add(HorizSizer1,
  		PrebEnabledCheckBox,
  		[{proportion, 0}, {flag, ?wxALIGN_CENTER bor ?wxALL},
                   {border, 0}]),
      HorizSizer2 = wxBoxSizer:new(?wxHORIZONTAL),
      PrebBoundSpinCtrl = wxSpinCtrl:new(Dialog, [{id, ?PREB_BOUND_SPIN},
  						{size, {50, -1}},
  						{min, 0},
  						{initial, PrebBound}]),
      wxSizer:add(HorizSizer2,
  		wxStaticText:new(Dialog, ?wxID_ANY, "Preemption bound:"),
  		[{proportion, 1}, {flag, ?wxALIGN_CENTER bor ?wxALL},
                   {border, 0}]),
      wxSizer:add(HorizSizer2,
  		PrebBoundSpinCtrl,
  		[{proportion, 0}, {flag, ?wxALIGN_CENTER bor ?wxALL},
                   {border, 0}]),
      wxSizer:add(PrebBoxSizer,
  		HorizSizer1,
  		[{proportion, 0}, {flag, ?wxEXPAND bor ?wxALL},
  		 {border, 10}]),
      wxSizer:add(PrebBoxSizer,
  		HorizSizer2,
  		[{proportion, 0}, {flag, ?wxEXPAND bor ?wxALL},
  		 {border, 10}]),
      %% Buttons.
      ButtonSizer = wxBoxSizer:new(?wxHORIZONTAL),
      wxSizer:add(ButtonSizer, wxButton:new(Dialog, ?wxID_CANCEL),
  		[{proportion, 3}, {flag, ?wxLEFT}, {border, 0}]),
      wxSizer:addStretchSpacer(ButtonSizer),
      wxSizer:add(ButtonSizer, wxButton:new(Dialog, ?wxID_OK, [{label, "&Save"}]),
  		[{proportion, 4}, {flag, ?wxRIGHT}, {border, 0}]),
      %% Top level sizer.
      wxSizer:add(TopSizer, PrebBoxSizer,
  		[{proportion, 0}, {flag, ?wxEXPAND bor ?wxALL},
  		 {border, 10}]),
      wxSizer:add(TopSizer, ButtonSizer,
                  [{proportion, 0},
  		 {flag, ?wxALIGN_CENTER bor ?wxEXPAND bor
  		        ?wxRIGHT bor ?wxLEFT bor ?wxBOTTOM},
  		 {border, 10}]),
      wxWindow:setSizer(Dialog, TopSizer),
      wxSizer:fit(TopSizer, Dialog),
      %% Show dialog.
      case wxDialog:showModal(Dialog) of
  	?wxID_OK ->
  
negative.code:     %% XXX: semi-hack, custom width, default height (-1)
      Ref =  wxTextCtrl:new(Parent, ?wxID_ANY, [{size, {170, -1}}]),
      HorizSizer = wxBoxSizer:new(?wxHORIZONTAL),
      _ = wxSizer:add(HorizSizer,
  		    wxStaticText:new(Parent, ?wxID_ANY,
  				     io_lib:format("Arg~p: ", [I + 1])),
  		    [{proportion, 0}, {flag, ?wxALIGN_CENTER bor ?wxRIGHT},
  		     {border, 5}]),
      _ = wxSizer:add(HorizSizer, Ref, [{proportion, 1},
  				      {flag, ?wxALIGN_CENTER bor ?wxALL},
  				      {border, 0}]),
      _ = wxSizer:add(Sizer, HorizSizer, [{proportion, 0},
  					{flag, ?wxEXPAND bor ?wxALL},
  					{border, 10}]),
      addArgs(Parent, Sizer, I + 1, Max, [Ref|Refs]).
  
  %% Module-adding dialog
  