Ok, so here is the code:https://pastebin.com/2RwPiFKb
And error message C:\Users\User\Desktop\Shel\GUI\GUIMain.cpp|165|error: 'Sunshine' was not declared in this scope|
I commented hints in code to help you interpret my problem
Search found 4 matches
- Sat Feb 22, 2020 8:18 am
- Forum: Compiler / Linking / IDE Related
- Topic: Instance of an object isn't visible outside the current scope(f. e. OnButton1Click)
- Replies: 3
- Views: 817
- Fri Feb 21, 2020 6:33 pm
- Forum: Compiler / Linking / IDE Related
- Topic: Instance of an object isn't visible outside the current scope(f. e. OnButton1Click)
- Replies: 3
- Views: 817
Instance of an object isn't visible outside the current scope(f. e. OnButton1Click)
So I'm making an app which i described here: https://forums.wxwidgets.org/viewtopic.php?f=1&t=46861 . I linked both projects but my problem is when i want to use one of the methods on object which i created. I can only use them in the scope where the object where created. I cant use anything for...
- Thu Feb 20, 2020 9:23 pm
- Forum: Compiler / Linking / IDE Related
- Topic: Adding my own C++ headers from other project
- Replies: 3
- Views: 1290
Re: Adding my own C++ headers from other project
@New Pagodi thank you solving my problem. WIth these screenshots everything makes clear right now
- Thu Feb 20, 2020 5:47 pm
- Forum: Compiler / Linking / IDE Related
- Topic: Adding my own C++ headers from other project
- Replies: 3
- Views: 1290
Adding my own C++ headers from other project
Hello I'm making an application in 2 version. One in the console mode and second with GUI using wxWidgets. I have already finished the first one and i want to make that with GUI using code from the first. I want to connect functions to buttons. How can I connect the header files from the first app t...