I am new to wxDev-CPP and the wxform RAD. I tried to create a sample program in which I added four wxEdit control onebyone from top to bottom (named wxEdit1, wxEdit2, wxEdit3 and wxEdit4) on a wxDialog. wxEdit1 at the top and wxEdit4 at the bottom. When I generated the code I found that these controls are created in the reverse order
Code: Select all
WxEdit4 = new wxTextCtrl(this, ID_WXEDIT4, wxT("WxEdit4"), wxPoint(112, 176), wxSize(121, 19), 0, wxDefaultValidator, wxT("WxEdit4"));
WxEdit3 = new wxTextCtrl(this, ID_WXEDIT3, wxT("WxEdit3"), wxPoint(112, 128), wxSize(121, 19), 0, wxDefaultValidator, wxT("WxEdit3"));
WxEdit2 = new wxTextCtrl(this, ID_WXEDIT2, wxT("WxEdit2"), wxPoint(112, 72), wxSize(121, 19), 0, wxDefaultValidator, wxT("WxEdit2"));
WxEdit1 = new wxTextCtrl(this, ID_WXEDIT1, wxT("WxEdit1"), wxPoint(112, 32), wxSize(121, 19), 0, wxDefaultValidator, wxT("WxEdit1"));
I am using the following setup
wxDev-c++ version - 7.3.1.3
compiler - mingw3.4.5
OS - windows.