Search found 37 matches

by Nick
Mon Sep 02, 2019 11:12 pm
Forum: Platform Related Issues
Topic: Clarification on wxGTK
Replies: 3
Views: 109

Re: Clarification on wxGTK

Hi, wxGTK Is it dependency to install wxWidgets? wxGTK is wxWidgets. It's the standard wxWidgets for Linux, just as wxMSW is the one for Windows, wxMac for OSX. (That's a simplification but it's true enough for normal use.) To better understand, on a clean system, I just installed wxWidgets v.3.1.2...
by Nick
Mon Sep 02, 2019 12:06 am
Forum: Platform Related Issues
Topic: Clarification on wxGTK
Replies: 3
Views: 109

Clarification on wxGTK

https://www.wxwidgets.org/docs/faq/gtk/ I couldn't quite understand what it is wxGTK Doubt 1: wxGTK Is it dependency to install wxWidgets? If it's dependency: Where do I download it? My question is because when looking at the only packages available for Slackware, being the same version, they are c...
by Nick
Wed Aug 21, 2019 2:27 am
Forum: C++ Development
Topic: Multiple wxFrame Doubt II
Replies: 11
Views: 155

Re: Multiple wxFrame Doubt II

Another problem. That I believe I got it wrong! I will post the statements from the beginning, because I believe they were declared wrong Tips.h #include <wx/button.h> #include <wx/frame.h> #include <wx/grid.h> #include <wx/srchctrl.h> #include <wx/stattext.h> #include <wx/textctrl.h> //(*Headers(Fr...
by Nick
Wed Aug 21, 2019 2:10 am
Forum: C++ Development
Topic: Multiple wxFrame Doubt II
Replies: 11
Views: 155

Re: Multiple wxFrame Doubt II

Example based on "minimal" sample: bool MyApp::OnInit() { if ( !wxApp::OnInit() ) return false; m_frame1 = new Frame1("this is frame 1"); m_frame2 = new Frame2("this is frame 2"); ShowFrame1(); // success: wxApp::OnRun() will be called which will enter the main message // loop and the application w...
by Nick
Tue Aug 20, 2019 11:16 pm
Forum: C++ Development
Topic: Multiple wxFrame Doubt II
Replies: 11
Views: 155

Re: Multiple wxFrame Doubt II

I'd still use the wxApp object as global "manager" for the display of all frames and the communication between them. Well, I think then I will have to consider your suggestion a lot! Because I believe you must have countless reasons I don't know, and why it's truly easier to do and to control. Than...
by Nick
Tue Aug 20, 2019 1:18 pm
Forum: C++ Development
Topic: Multiple wxFrame Doubt II
Replies: 11
Views: 155

Re: Multiple wxFrame Doubt II

Summary of the program I am trying to do. I want a program where I can register various information such as Tips for: C, C ++, Linux, wxWidgets, Cooking Recipes, Remedies, Electronics Tips, General Knowledge. It's like an encyclopedia of information. Where I will consult with a word and have the des...
by Nick
Tue Aug 20, 2019 1:11 pm
Forum: C++ Development
Topic: Multiple wxFrame Doubt II
Replies: 11
Views: 155

Re: Multiple wxFrame Doubt II

One day, what I want is something like this https://oi890.photobucket.com/albums/ac109/x01001000x/Forum%20wxWidgets/A.png~original And the Tips displayed something like this and can put images, colors and etc ... https://oi890.photobucket.com/albums/ac109/x01001000x/Forum%20wxWidgets/B.png~original ...
by Nick
Tue Aug 20, 2019 1:04 pm
Forum: C++ Development
Topic: Multiple wxFrame Doubt II
Replies: 11
Views: 155

Re: Multiple wxFrame Doubt II

These are all typical cases where you would normally show a modal dialog instead of a wxFrame. This would make the whole logic much easier. The problem with using Modal Dialogs is that I could not use previous Windows if I had to! :D Example: When I register a Hashtags for example Find. Her synonym...
by Nick
Tue Aug 20, 2019 10:01 am
Forum: C++ Development
Topic: Multiple wxFrame Doubt II
Replies: 11
Views: 155

Re: Multiple wxFrame Doubt II

Example based on "minimal" sample: Your idea is good, and of course I learn from it too, mainly because I will do the codes by hand in the future. But I will explain my current motives. I am still learning how to use. And in the meantime I am creating a small database to register what I learn. And ...
by Nick
Tue Aug 20, 2019 2:09 am
Forum: C++ Development
Topic: Multiple wxFrame Doubt II
Replies: 11
Views: 155

Multiple wxFrame Doubt II

Still with difficulties... In my previous doubt I learned: Form1 *WindowForm1 = new Form1(0); WindowForm1->My_wxTextCtrl->SetValue("A"); But in this case above, the Window was still being created. In my doubt below, the Window already exists! I also understood the message below but the problem is, I...
by Nick
Mon Aug 19, 2019 5:23 pm
Forum: Compiler / Linking / IDE Related
Topic: Trouble compiling /samples/artprov
Replies: 14
Views: 284

Re: Trouble compiling /samples/artprov

So, to summarise, you have a system install of wx3.1.2 that (afaict) doesn't provide the samples. You also downloaded the wx3.1.2 source package but didn't build it. You need to do so. I strongly suggest you create a 'local' build as follows: cd /full/path/to/your/wx3.1.2-source mkdir build-dir && ...
by Nick
Sun Aug 18, 2019 10:32 pm
Forum: Compiler / Linking / IDE Related
Topic: Trouble compiling /samples/artprov
Replies: 14
Views: 284

Re: Trouble compiling /samples/artprov

Let's go back to the beginning. You downloaded wxWidgets-3.1.2. What did you do then? Did you configure and build it? If so, how and where? If you didn't build wxWidgets-3.1.2, what is your wxWidgets install? You must have one as `wx-config --libs --cxxflags` works. Where is it, and which wx versio...
by Nick
Sun Aug 18, 2019 9:06 pm
Forum: Compiler / Linking / IDE Related
Topic: Trouble compiling /samples/artprov
Replies: 14
Views: 284

Re: Trouble compiling /samples/artprov

1) Don't try to build the code directly with g++. Use the makefile that was set up correctly when you configured wxWidgets. It will be in the dir where you built wx. 2) When you must build a binary directly with g++ (because there isn't an easy way e.g. a makefile), I think I'm having trouble with ...
by Nick
Sun Aug 18, 2019 5:40 pm
Forum: Compiler / Linking / IDE Related
Topic: Trouble compiling /samples/artprov
Replies: 14
Views: 284

I edited this post because the solution I provided is wrong, since right below DavidHart corrects what I reported here.
So to avoid this confusing other people I deleted the wrong solution. :roll:
by Nick
Sat Aug 17, 2019 10:26 pm
Forum: Compiler / Linking / IDE Related
Topic: Trouble compiling /samples/artprov
Replies: 14
Views: 284

Re: Trouble compiling /samples/artprov

I am not using Linux but I believe that the makefiles in individual samples' directories are for Windows (MinGW) only. On Linux the makefiles for samples are produced in the build dir for the library. I assume you are familiar with the official install instructions but they were of no help and neit...