Search found 222 matches

by rocrail
Tue Dec 29, 2020 12:54 pm
Forum: Platform Related Issues
Topic: macOS "Big Sur" and frame height
Replies: 24
Views: 881

Re: macOS "Big Sur" and frame height

Many Thanks!
This Tip did fix the problem!
by rocrail
Tue Dec 29, 2020 11:32 am
Forum: Platform Related Issues
Topic: macOS "Big Sur" and frame height
Replies: 24
Views: 881

Re: macOS "Big Sur" and frame height

Good Tip!

I will check this and report.
by rocrail
Tue Dec 29, 2020 8:22 am
Forum: Platform Related Issues
Topic: macOS "Big Sur" and frame height
Replies: 24
Views: 881

Re: macOS "Big Sur" and frame height

Hi, this is how I build it: git clone --recurse-submodules https://github.com/wxWidgets/wxWidgets.git cd wxWidgets mkdir macbuild cd macbuild ../configure --enable-unicode --with-osx_cocoa --with-macosx-sdk=/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sd...
by rocrail
Tue Dec 29, 2020 7:19 am
Forum: Platform Related Issues
Topic: macOS "Big Sur" and frame height
Replies: 24
Views: 881

Re: macOS "Big Sur" and frame height

Hi,

I use the GIT master.
by rocrail
Mon Dec 28, 2020 11:20 am
Forum: Platform Related Issues
Topic: macOS "Big Sur" and frame height
Replies: 24
Views: 881

Re: macOS "Big Sur" and frame height

Hi, it will not completely compile: (master branch) g++ -std=gnu++11 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk -mmacosx-version-min=11.00 -c -o test_allheaders_allheaders.o -I/Users/robversluis/Projects/wxWidgets/macbuild/lib/wx/include/...
by rocrail
Sun Dec 27, 2020 3:15 pm
Forum: Platform Related Issues
Topic: macOS "Big Sur" and frame height
Replies: 24
Views: 881

Re: macOS "Big Sur" and frame height

Hi,

no such directory found under wxWidgets Source tree.
by rocrail
Sun Dec 27, 2020 9:12 am
Forum: Platform Related Issues
Topic: macOS "Big Sur" and frame height
Replies: 24
Views: 881

Re: macOS "Big Sur" and frame height

ONEEYEMAN wrote:
Sun Dec 27, 2020 8:56 am
However there is a test for a persistence classes - can you try and see if its passes?
in which sample is this?
Or should I try the wxPersistence? Class in my application?
by rocrail
Sun Dec 27, 2020 7:52 am
Forum: Platform Related Issues
Topic: macOS "Big Sur" and frame height
Replies: 24
Views: 881

Re: macOS "Big Sur" and frame height

There is no persist sample... samples % ls Makefile combo drawing htlbox mdi propgrid sound thread widgets animate config erase html menu render splash toolbar wizard archive dataview event image minimal ribbon splitter treectrl wrapsizer artprov debugrpt except internat notebook richtext statbar tr...
by rocrail
Sun Dec 27, 2020 7:51 am
Forum: Platform Related Issues
Topic: macOS "Big Sur" and frame height
Replies: 24
Views: 881

Re: macOS "Big Sur" and frame height

Hi,

under Windows the ClientSize does not fit, and grows the height too.
I will check the example, and report.
by rocrail
Sun Dec 27, 2020 7:31 am
Forum: Platform Related Issues
Topic: macOS "Big Sur" and frame height
Replies: 24
Views: 881

Re: macOS "Big Sur" and frame height

I'm saving it in a separate file. Save: wxSize size = this->getFrame()->GetSize(); #ifdef __APPLE__ size = this->getFrame()->GetClientSize(); #endif if( size.GetWidth() > 100 && size.GetHeight() > 100 ) { wWindow.setcx( wGui.getwindow( m_Ini ), size.GetWidth() ); wWindow.setcy( wGui.getwindow( m_Ini...
by rocrail
Sun Dec 27, 2020 6:55 am
Forum: Platform Related Issues
Topic: macOS "Big Sur" and frame height
Replies: 24
Views: 881

Re: macOS "Big Sur" and frame height

Hi,

this is not the right solution:

1) under Catalina the windows height shrinks. -24
2) under Big Sur the windows height grows. +4

Which solution would be OK for both cases?
by rocrail
Fri Nov 20, 2020 12:24 pm
Forum: Platform Related Issues
Topic: macOS on ARM CPU
Replies: 4
Views: 960

Re: macOS on ARM CPU

Many thanks to you all! "The great wxWidgets Team".
A Mac Mini "Big Sur" with M1 CPU just arrived today, and Rocrail runs now native on the M1 CPU with wxWidgets! :D
rocrail-m1.jpg
by rocrail
Sun Nov 15, 2020 8:52 am
Forum: Platform Related Issues
Topic: macOS "Big Sur" and frame height
Replies: 24
Views: 881

Re: macOS "Big Sur" and frame height

Thanks!

Saving and restoring the client size is OK under macOS "Big Sur".
by rocrail
Sun Nov 15, 2020 7:33 am
Forum: Platform Related Issues
Topic: macOS "Big Sur" and frame height
Replies: 24
Views: 881

Re: macOS "Big Sur" and frame height

Hi,

the Frame size of the wxWidgets App is saved, and restored at restart.

The #ifdef is the Work-Around for macOS and wxWidgets, but the used value must be corrected for "Big Sur".
by rocrail
Sat Nov 14, 2020 2:10 pm
Forum: Platform Related Issues
Topic: macOS "Big Sur" and frame height
Replies: 24
Views: 881

macOS "Big Sur" and frame height

Before "Big Sur" this hard coded Work Around did help: wxSize size = this->getFrame()->GetSize(); if( size.GetWidth() > 100 && size.GetHeight() > 100 ) { wWindow.setcx( wGui.getwindow( m_Ini ), size.GetWidth() ); wWindow.setcy( wGui.getwindow( m_Ini ), size.GetHeight() ); } #ifdef __APPLE__ if( !wGu...