Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Made save / restore size and position of the main window using wxConfig #30

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

ManeFunction
Copy link
Contributor

Added a feature to keep main window's size and position, and not reset it on each launch. Used default wxConfig feature already included in project, so no any new tools here.

Tested on Mac, can't test it on Windows or Linux at the time. Sorry if I did something wrong, C++ is not my main language.

@ManeFunction ManeFunction changed the title Made save / restore of the main window size and position using wxConfig Made save / restore size and position of the main window using wxConfig Feb 16, 2023
@Ravbug
Copy link
Owner

Ravbug commented Feb 16, 2023

Thanks for the PR! I will take a look when I have a chance.

@Ravbug
Copy link
Owner

Ravbug commented Feb 16, 2023

I tested it on both mac and windows, and while this works on mac, it does not work on windows. The call to config->Read on windows always fails. Not sure if this is an issue with wxConfig or with our usage of it here.

@ManeFunction
Copy link
Contributor Author

Thank you for the test! I'll check this out a bit later if no one helps with this.

@Ravbug Ravbug linked an issue Nov 5, 2024 that may be closed by this pull request
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Save window size and columns width between runs
2 participants