It doesn't work to change the height of the control because it doesn't obey.
And in doing so, he even leaves his original position!
I wonder if I'm doing something wrong or if this is a BUG
Code: Select all
#include <wx/app.h>
#include <wx/frame.h>
#include <wx/textctrl.h>
class MyProgram: public wxApp {
bool OnInit() {
wxFrame *FrmMain = new wxFrame(NULL, wxID_ANY, wxEmptyString);
FrmMain->SetClientSize(wxSize(310,80));
new wxTextCtrl(FrmMain, wxID_ANY, "wxEmptyString", wxPoint(5, 5), wxSize(300,10));
new wxTextCtrl(FrmMain, wxID_ANY, "wxEmptyString", wxPoint(5,43), wxSize(300,33));
FrmMain->Show();
return true;
}}; wxIMPLEMENT_APP(MyProgram);