Request example project

If you are using the main C++ distribution of wxWidgets, Feel free to ask any question related to wxWidgets development here. This means questions regarding to C++ and wxWidgets, not compile problems.
Post Reply
Bryan Kelly
Earned some good credits
Earned some good credits
Posts: 117
Joined: Wed Apr 27, 2022 10:47 pm

Request example project

Post by Bryan Kelly »

Windows 11, Visual Studio 2019, C++
I would like to look at a simple and well-formed wxwidgets project to see how others construct their project. Simple is better, but as least a few dialogs and include files.
I presume the best manner to do this is a reference to a project in github. Any other manner will be fine with me.
Thank you for your time.
ONEEYEMAN
Part Of The Furniture
Part Of The Furniture
Posts: 7459
Joined: Sat Apr 16, 2005 7:22 am
Location: USA, Ukraine

Re: Request example project

Post by ONEEYEMAN »

Hi,
Can you please be a little more specific?
Are you looking for a way to set up the project?
Are you looking to see how and where to place source code?
Do you have questions about setting up the project inside MSVC?

Thank you.
Bryan Kelly
Earned some good credits
Earned some good credits
Posts: 117
Joined: Wed Apr 27, 2022 10:47 pm

Re: Request example project

Post by Bryan Kelly »

I want to look at how other people arrange the modules and include files using C++.
And yes, this is specific to Visual Studio. However, module construction should probably be the same under Linux.
I just want to see what others have done. The Hello World from the wxwidgets site is not modularized at all.
I am not fussy.
ONEEYEMAN
Part Of The Furniture
Part Of The Furniture
Posts: 7459
Joined: Sat Apr 16, 2005 7:22 am
Location: USA, Ukraine

Re: Request example project

Post by ONEEYEMAN »

Hi,
Basically what you do is create you project under some diectory, then add some dll subprojects, add include search path and all required libraries with their search path and you are done.

You can check the project seetings of the minimal sample provided with the library

And I have no idea what "Hello World" you are talking about...

Thank you.
ONEEYEMAN
Part Of The Furniture
Part Of The Furniture
Posts: 7459
Joined: Sat Apr 16, 2005 7:22 am
Location: USA, Ukraine

Re: Request example project

Post by ONEEYEMAN »

And if you use git - it will become much easier...
Bryan Kelly
Earned some good credits
Earned some good credits
Posts: 117
Joined: Wed Apr 27, 2022 10:47 pm

Re: Request example project

Post by Bryan Kelly »

So now I need to learn how to use github from windows. Without the good command line available in Linux. Ok, I will work that.

Still, There is lots of stuff in github. How can I find something that uses wxwidgets?
I have looked at two of the wxwidget sample files and someone put everything in a single .cpp file. No modularization.

I tried navigating through the site a few days ago and could not make sense of it. I will try again.
ONEEYEMAN
Part Of The Furniture
Part Of The Furniture
Posts: 7459
Joined: Sat Apr 16, 2005 7:22 am
Location: USA, Ukraine

Re: Request example project

Post by ONEEYEMAN »

Hi,
There is a GitHub for Windows which contains Git Bash - the same command line interface for Git.

Thank you.
'
Bryan Kelly
Earned some good credits
Earned some good credits
Posts: 117
Joined: Wed Apr 27, 2022 10:47 pm

Re: Request example project

Post by Bryan Kelly »

OK, so no one has a suggestion.
I will start with an example file and rewrite it in a modular form.
Bryan Kelly
Earned some good credits
Earned some good credits
Posts: 117
Joined: Wed Apr 27, 2022 10:47 pm

Re: Request example project

Post by Bryan Kelly »

Looks like some good examples in the samples and demos. I'll start with them.
Post Reply