Modal Dialog, Controls disappear

Do you have a typical platform dependent issue you're battling with ? Ask it here. Make sure you mention your platform, compiler, and wxWidgets version.
User avatar
doublemax
Moderator
Moderator
Posts: 19103
Joined: Fri Apr 21, 2006 8:03 pm
Location: $FCE2

Re: Modal Dialog, Controls disappear

Post by doublemax »

dd8ei wrote: Sat Feb 20, 2021 8:18 pm I zipped my whole project.
How can I upload the file?
A zip file with just the source files shouldn't be too big, and you should be able to attach it to a post here.

Alternatively, upload it on something like https://www.sendspace.com/ and then post the link.
Use the source, Luke!
dd8ei
In need of some credit
In need of some credit
Posts: 9
Joined: Fri Feb 19, 2021 10:36 am
Location: JO31nc

Re: Modal Dialog, Controls disappear

Post by dd8ei »

ONEEYEMAN wrote: Sat Feb 20, 2021 7:59 pm

Code: Select all

cd samples/dialogs
make
./dialogs
I changed to this directory: pi@raspberrypi:~/wx/wxWidgets-3.1.4/samples/dialogs
I tried that but 'make' shows: make: *** No targets specified and no makefile found. Stop.

Now I have set up a fresh Rasbian OS 'as it is' and only installed wxWidgets as folllows:
sudo apt install build-essential
sudo apt install libgtk-3-dev
cd ~/wx/wxWidgets-3.1.4
mkdir gtk-build
cd gtk-build
../configure
make -j4
sudo make install
sudo ldconfig

Everythig was done without any errors but 'make' shows the same message like before.
Now i don't know what to do...

Beautiful sunday today with a lot of sunshine!
DavidHart
Site Admin
Site Admin
Posts: 4252
Joined: Thu Jan 12, 2006 6:23 pm
Location: IoW, UK

Re: Modal Dialog, Controls disappear

Post by DavidHart »

Are you sure you're trying in the correct dir? You can't build wxWidgets-3.1.4/samples/dialogs; it must be wxWidgets-3.1.4/gtk-build/samples/dialogs
dd8ei
In need of some credit
In need of some credit
Posts: 9
Joined: Fri Feb 19, 2021 10:36 am
Location: JO31nc

Re: Modal Dialog, Controls disappear

Post by dd8ei »

DavidHart wrote: Sun Feb 21, 2021 5:14 pm Are you sure you're trying in the correct dir? You can't build wxWidgets-3.1.4/samples/dialogs; it must be wxWidgets-3.1.4/gtk-build/samples/dialogs
Thanks for the hint, this works.
I can open and close the modal dialog as often I want. Now I will study the code to find out why it's not working in my project.

Thanks to all!
Post Reply