Search found 5 matches

by liz
Wed Jun 27, 2018 8:17 pm
Forum: Component Writing
Topic: Class derived from wxPanel does not show wxListView upon maximizing window
Replies: 8
Views: 656

Re: Class derived from wxPanel does not show wxListView upon maximizing window

// MainView is derived from View, which in turn is derived from wxScrolledWindow MainView::MainView() : View("View Name") { wxSizer* primarySizer = CreatePrimaryView(this); // Some other sizers are added to topSizer wxSizer* topSizer = new wxBoxSizer(wxHORIZONTAL); topSizer->Add(primarySizer, 0, wx...
by liz
Wed Jun 27, 2018 7:50 pm
Forum: Component Writing
Topic: Class derived from wxPanel does not show wxListView upon maximizing window
Replies: 8
Views: 656

Re: Class derived from wxPanel does not show wxListView upon maximizing window

Also I would like to reiterate that the issue is only with my widescreen monitor. On my non-widescreen monitor, everything shows up fine.
by liz
Wed Jun 27, 2018 7:46 pm
Forum: Component Writing
Topic: Class derived from wxPanel does not show wxListView upon maximizing window
Replies: 8
Views: 656

Re: Class derived from wxPanel does not show wxListView upon maximizing window

In MainView, the constructor calls a function CreatePrimaryView(), which calls a function CreateDataAndListRow(), which calls a function CreateSettingsList(). Each of these functions creates a sizer and returns it, until ultimately the MainView constructor takes the sizer from CreatePrimaryView() an...
by liz
Wed Jun 27, 2018 3:16 pm
Forum: Component Writing
Topic: Class derived from wxPanel does not show wxListView upon maximizing window
Replies: 8
Views: 656

Re: Class derived from wxPanel does not show wxListView upon maximizing window

What other code would be helpful? I'm not sure what else is relevant.
by liz
Tue Jun 26, 2018 9:43 pm
Forum: Component Writing
Topic: Class derived from wxPanel does not show wxListView upon maximizing window
Replies: 8
Views: 656

Class derived from wxPanel does not show wxListView upon maximizing window

I have a custom class "DataListDisplay" derived from wxPanel. In it there is a wxListView "SettingsList" that is updated after certain user actions. When I am running my application on my monitor that is 1920 x 1200, I have no issues. However, when I run my application on my monitor that is 2560 x 1...