Advertisement
Guest User

Untitled

a guest
Feb 27th, 2020
120
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.54 KB | None | 0 0
  1. #include "inheritedgui.h"
  2.  
  3. inheritedgui::inheritedgui( wxWindow* parent )
  4. :
  5. MainDialogBase( parent )
  6. {  
  7.  
  8. }
  9.  
  10. std::string string01;
  11.  
  12. void inheritedgui::m_button1OnButtonClick(wxCommandEvent& event)
  13. {
  14.  
  15. string01 = m_textCtrl1->GetValue().ToStdString();
  16.  
  17. }
  18.  
  19. void inheritedgui::m_button2OnButtonClick(wxCommandEvent& event)
  20. {
  21.  
  22. wxMessageBox( wxString(string01.c_str(), wxConvUTF8), wxT("This is the title"), wxICON_INFORMATION);
  23.  
  24. }
  25.  
  26. void inheritedgui::OnCloseDialog( wxCloseEvent& event )
  27. {
  28. // TODO: Implement OnCloseDialog
  29. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement