what is the correct way: scrolledwindow in a notebook page
| Newsgroups | gmane.comp.lib.wxwindows.general |
|---|---|
| Message-ID | <[email protected]> |
Hi, I would like to add a scrolledwindow as a top panel of a notebook page. What I have: wxNotebook *f_notebook = new wxNotebook (f_toppanel, wxID_ANY); wxScrolledWindow *f_scrolled_window = new wxScrolledWindow (f_notebook, wxID_ANY); wxPanel *f_credentials_panel = new wxPanel (f_scrolled_window, wxID_ANY); wxFlexGridSizer *f_credentials_sizer = new wxFlexGridSizer (7, 2, 2, 2); ... fill the sizer with widgets ... f_credentials_panel->SetSizer (f_credentials_sizer); f_notebook->AddPage (f_scrolled_window, "Credentials"); All I get is a white rectangle with no widgets. Can somebody please explain how I can do it the correct way? TIA Alexander -- Please read https://www.wxwidgets.org/support/mlhowto.htm before posting. --- You received this message because you are subscribed to the Google Groups "wx-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion visit https://groups.google.com/d/msgid/wx-users/4aa5242b-cb34-4b40-9e11-4918216f52f4n%40googlegroups.com.