Search found 2 matches

by language1446
Sun Oct 11, 2020 7:27 am
Forum: C++ Development
Topic: how can this be a window id?
Replies: 1
Views: 113

how can this be a window id?

Hi! I was wondering how can "this"(class address) could be a window's id. something like code below. wxPanel *panel = new wxPanel(this, wxID_ANY); or Bind(wxEVT_COMMAND_BUTTON_CLICKED, &Button::OnQuit, this, wxID_EXIT); Button::Button(const wxString& title) : wxFrame(NULL, wxID_ANY, title, wxDefault...
by language1446
Wed Sep 30, 2020 2:02 pm
Forum: C++ Development
Topic: what does id, lastId do int functions(Bind, Connect)
Replies: 1
Views: 142

what does id, lastId do int functions(Bind, Connect)

Hi. I'm new to wxWdigets and trying to understand Bind(), Connect() problem i have now is I don't understand what id and lastId is for. id The first ID of the identifier range to be associated with the event handler. lastId The last ID of the identifier range to be associated with the event handler....