Created
January 28, 2012 14:38
-
-
Save silv3rm00n/1694544 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
void logger::init_ui() | |
{ | |
//Now create panel | |
wxPanel *panel = new wxPanel( this , ::wxNewId() ); | |
//btn_trace->SetToolTipString(_("Click to get whois information for the domain name.")); | |
txt_log = new wxTextCtrl(panel , -1 , _("") , wxDefaultPosition, wxDefaultSize, wxTE_MULTILINE); | |
//Add the input field and submit button to a Box Sizer since the must stay together | |
wxBoxSizer *space = new wxBoxSizer(wxHORIZONTAL); | |
//Non expandable and align to right | |
space->Add( txt_log , 1); | |
panel->SetSizer(space); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment