Search found 232 matches

by rocrail
Sun Dec 27, 2020 3:15 pm
Forum: Platform Related Issues
Topic: macOS "Big Sur" and frame height
Replies: 24
Views: 1526

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: 1526

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: 1526

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: 1526

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: 1526

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: 1526

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: 1132

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: 1526

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: 1526

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: 1526

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...
by rocrail
Sat Jul 25, 2020 11:09 am
Forum: Platform Related Issues
Topic: Restore Window/Dialog size 3.1.4 GTK3
Replies: 5
Views: 535

Re: Restore Window/Dialog size 3.1.4 GTK3

In the dialogs sample you can reproduce it adding a SetSize call: void MyFrame::OnStandardButtonsSizerDialog(wxCommandEvent& WXUNUSED(event)) { StdButtonSizerDialog dialog(this); dialog.SetSize(10,200,1800,800); // Added for testing setting the Size. dialog.ShowModal(); } The x,y position is set, bu...
by rocrail
Sat Jul 25, 2020 10:51 am
Forum: Platform Related Issues
Topic: Restore Window/Dialog size 3.1.4 GTK3
Replies: 5
Views: 535

Re: Restore Window/Dialog size 3.1.4 GTK3

It still works with the Ubuntu libwx 3.0 libraries.
Getting the dialog size on close is no problem, but the restore does not work.
I will try it with the minimal sample, and report.
by rocrail
Sat Jul 25, 2020 10:17 am
Forum: Platform Related Issues
Topic: Restore Window/Dialog size 3.1.4 GTK3
Replies: 5
Views: 535

Restore Window/Dialog size 3.1.4 GTK3

With the Ubuntu libwxgtk3.0 libraries, I could resize Windows/Dialogs with

Code: Select all

dialog->SetSize(x, y, width, height);
with the wx 3.1.4 and GTK3 this does no longer works.

Under macOS and Windows its still OK.

How to resize a Window/Dialog under Linux GTK3???
by rocrail
Sat Jun 13, 2020 5:16 pm
Forum: Platform Related Issues
Topic: macOS on ARM CPU
Replies: 4
Views: 1132

macOS on ARM CPU

Hi,

it seems Apple want to schwitch from Intel to its own ARM processors for macOS based hardware.

How to compile wxWidgets under macOS ARM?

The Raspbian, PiOS, is also based on an ARM CPU, and its no problem to compile/build wxWidgets.