Search found 20 matches

by weswitt
Thu Mar 14, 2019 4:43 pm
Forum: Platform Related Issues
Topic: SIGSEGV When calling wxFrame::ShowFullScreen
Replies: 16
Views: 599

Re: SIGSEGV When calling wxFrame::ShowFullScreen

OK, I was able to get the display sample running and repro the problem with the sample. Running the sample unchanged it works fine. You launch the sample and then choose the "full screen" menu item and the app is properly displayed full screen. However, if you change the line that says "frame->Show(...
by weswitt
Tue Mar 12, 2019 7:19 pm
Forum: Platform Related Issues
Topic: SIGSEGV When calling wxFrame::ShowFullScreen
Replies: 16
Views: 599

Re: SIGSEGV When calling wxFrame::ShowFullScreen

Of course and I totally understand. I will repro with the sample as you suggest.
by weswitt
Tue Mar 12, 2019 3:47 pm
Forum: Platform Related Issues
Topic: SIGSEGV When calling wxFrame::ShowFullScreen
Replies: 16
Views: 599

Re: SIGSEGV When calling wxFrame::ShowFullScreen

Thanks for the help building the sample. Builds perfectly. Hopefully tonight I can test it out.
by weswitt
Tue Mar 12, 2019 3:37 pm
Forum: Platform Related Issues
Topic: SIGSEGV When calling wxFrame::ShowFullScreen
Replies: 16
Views: 599

Re: SIGSEGV When calling wxFrame::ShowFullScreen

GTK versions: 3.22.11-1+rpi3, 2.24.31-2

wxWidgets configure command: ../configure --enable-unicode --disable-shared

I was unable to get the sample compiled & running. Total PITA. Anyway the sample I provided is much simpler and clearly demonstrates the problem.
by weswitt
Tue Mar 12, 2019 2:09 pm
Forum: Platform Related Issues
Topic: SIGSEGV When calling wxFrame::ShowFullScreen
Replies: 16
Views: 599

Re: SIGSEGV When calling wxFrame::ShowFullScreen

I have 2.0 & 3.0 installed

sudo apt-get install libgtk2.0-0 -y
sudo apt-get install libgtk-3-0 -y
by weswitt
Tue Mar 12, 2019 12:34 am
Forum: Platform Related Issues
Topic: SIGSEGV When calling wxFrame::ShowFullScreen
Replies: 16
Views: 599

Re: SIGSEGV When calling wxFrame::ShowFullScreen

After more investigation I've found that the ShowFullScreen is unreliable. All of my tests were done with the sample code below -- the smallest wxWidgets app that shows an empty frame. If ShowFullScreen() is used on a Raspberry Pi with a 7" LCD touchscreen it will segfault as follows: #0 0x769fb714 ...
by weswitt
Mon Mar 11, 2019 3:32 pm
Forum: Compiler / Linking / IDE Related
Topic: Compiling Samples
Replies: 5
Views: 221

Re: Compiling Samples

Thanks that was it. I have it building now.
by weswitt
Mon Mar 11, 2019 3:01 pm
Forum: Compiler / Linking / IDE Related
Topic: Compiling Samples
Replies: 5
Views: 221

Re: Compiling Samples

I built it myself. I is correctly built and installed.
by weswitt
Mon Mar 11, 2019 2:30 pm
Forum: Compiler / Linking / IDE Related
Topic: Compiling Samples
Replies: 5
Views: 221

Compiling Samples

Sorry for the basic question, but I searched and could not find an answer. What is the procedure for building the sample apps on Linux? Trying this (which seems obvious) fails: make -f makefile.gcc if not exist gcc_mswud mkdir gcc_mswud make: -c: Command not found makefile.gcc:219: recipe for target...
by weswitt
Mon Mar 11, 2019 1:48 am
Forum: Platform Related Issues
Topic: SIGSEGV When calling wxFrame::ShowFullScreen
Replies: 16
Views: 599

Re: SIGSEGV When calling wxFrame::ShowFullScreen

I will do that and report back. One thing I have discovered is that this ONLY repros on a Pi with a 7" touch display that connects using the Pi ribbon display cable. Running on a Pi using HDMI display it work fine. So it seems that GTK is sensitive to the display driver. Also, when I call the API I'...
by weswitt
Sun Mar 10, 2019 4:44 pm
Forum: Platform Related Issues
Topic: SIGSEGV When calling wxFrame::ShowFullScreen
Replies: 16
Views: 599

SIGSEGV When calling wxFrame::ShowFullScreen

I'm seeing a Segmentation fault when calling wxFrame::ShowFullScreen: #0 0x76a26714 in gdk_window_set_decorations () from /usr/lib/arm-linux-gnueabihf/libgdk-x11-2.0.so.0 #1 0x0008233c in wxTopLevelWindowGTK::ShowFullScreen(bool, long) () #2 0x000966a4 in wxFrame::ShowFullScreen(bool, long) () #3 0x...
by weswitt
Thu Jan 12, 2017 5:41 pm
Forum: C++ Development
Topic: wxStaticLine width
Replies: 6
Views: 353

Re: wxStaticLine width

No I certainly don't want as 40 pixel with line in my app. I'm simply using that value as a way to see that the width is in fact changing.
by weswitt
Thu Jan 12, 2017 5:29 pm
Forum: C++ Development
Topic: wxStaticLine width
Replies: 6
Views: 353

Re: wxStaticLine width

Thanks. I tried that like this:

wxStaticLine* line = new wxStaticLine(p, wxID_ANY, wxDefaultPosition, wxSize(wxDefaultCoord, 40), wxLI_HORIZONTAL);

No effect. Am I doing this wrong?
by weswitt
Thu Jan 12, 2017 4:26 pm
Forum: C++ Development
Topic: wxStaticLine width
Replies: 6
Views: 353

Re: wxStaticLine width

This is using wxWidgets 3.1 with Gtk2 running on Linux.
by weswitt
Thu Jan 12, 2017 4:25 pm
Forum: C++ Development
Topic: wxStaticLine width
Replies: 6
Views: 353

wxStaticLine width

What is necessary to specify the width of a static line? I have the code below that draws a horizontal line. This works as expected, but I can't seem to find a way to increase the thickness of the line. wxPanel* p = new wxPanel(this, wxID_ANY); wxBoxSizer* b3 = new wxBoxSizer(wxVERTICAL); wxStaticLi...