Search found 88 matches

by ColleenKobe
Fri Jul 07, 2017 2:57 pm
Forum: Compiler / Linking / IDE Related
Topic: How do I Compile wxWidgets Sample Code?
Replies: 33
Views: 7162

Re: How do I Compile wxWidgets Sample Code?

Mingw and TDM share the common GCC origin. But different versions and other matters make them incompatible, specially for static builds. Thank your for that illuminating information! Here is the short answer to your questions about the entries in my path and the environment variables. I started wri...
by ColleenKobe
Thu Jul 06, 2017 7:59 pm
Forum: Compiler / Linking / IDE Related
Topic: How do I Compile wxWidgets Sample Code?
Replies: 33
Views: 7162

Re: How do I Compile wxWidgets Sample Code?

Thanks for replying so quickly. Yes, I mistook a lower-case L ("l") for a one ("1"). No, I do not have the following files anywhere on my computer: libwxmsw31u_adv.a libwxmsw31ud_core.a libwxbase31ud.a In my C:\wxWidgets\lib\gcc_lib, I have the following files: c: libwxexpat .a 227352 4/14/17 16:09 ...
by ColleenKobe
Thu Jul 06, 2017 5:13 pm
Forum: Compiler / Linking / IDE Related
Topic: How do I Compile wxWidgets Sample Code?
Replies: 33
Views: 7162

Re: How do I Compile wxWidgets Sample Code?

Thank you for your quick response! I decided to try your command line suggestions. I got three errors. Perhaps you can see what I'm doing wrong. Here is my path (broken up here for legibility). wxWidgets is installed in C:\wxWidgets. MinGW is installed in C:\MinGW. Path=C:\WINDOWS; C:\WINDOWS\system...
by ColleenKobe
Thu Jul 06, 2017 2:00 pm
Forum: Compiler / Linking / IDE Related
Topic: How do I Compile wxWidgets Sample Code?
Replies: 33
Views: 7162

How do I Compile wxWidgets Sample Code?

How do I compile and run the sample code that comes with wxWidgets? I would like to compile and run one of the sample programs that came with wxWidgets. The code is in C:\wxWidgets\samples\dataview. The files in that directory are: c: dataview .bkl 420 4/14/17 9:46 \wxWidgets\samples\dataview c: dat...
by ColleenKobe
Fri Jun 30, 2017 5:36 pm
Forum: General Development
Topic: Is there a wxwidget featuring a title bar?
Replies: 3
Views: 3281

Re: Is there a wxwidget featuring a title bar?

Thank you, New Pagodi and Manolo, for your suggestions! I have used elements of both of your suggestions to generate a GUI that roughly matches the criteria. No, there are no rounded corners. But there is a lot of data processing code for me to write and test and a limited time to do it, so it's mor...
by ColleenKobe
Fri Jun 30, 2017 5:23 pm
Forum: C++ Development
Topic: How to sort columns in a wxDataViewListCtrl
Replies: 2
Views: 749

How to sort columns in a wxDataViewListCtrl

I am using two wxDataViewListCtrl controls in my wxFrame. I've successfully labeled the columns and filled the rows with data. Stable version.jpg Now I'd like to be able to click a column in the first row and have all the rows magically get sorted by that column, without me writing the code to make ...
by ColleenKobe
Wed Jun 28, 2017 7:13 pm
Forum: General Development
Topic: Is there a wxwidget featuring a title bar?
Replies: 3
Views: 3281

Is there a wxwidget featuring a title bar?

The lead design engineer on my current project wants me to generate pages in wxWidgets that resemble the drawing below. I made the drawing below in Microsoft Word (it's not actually a program). Cover_Page.jpg I know how to make the main page as a wxFrame, and wxCrafter already made the menu bar, and...
by ColleenKobe
Mon Jun 19, 2017 4:54 pm
Forum: C++ Development
Topic: My Code Doesn't Catch wxProgressDialog's Early Exit
Replies: 2
Views: 658

My Code Doesn't Catch wxProgressDialog's Early Exit

Hi. I'm having a small issue with wxProgressDialog. I created a wxProgressDialog class, and then placed a call to Update in a for-loop. The issue is that when the loop is running, if I click Cancel, or press the escape key, my code doesn't catch that the "stop early" flag was set to true. If I press...
by ColleenKobe
Thu Jun 01, 2017 2:34 pm
Forum: Compiler / Linking / IDE Related
Topic: "Undefined Reference" linker errors
Replies: 8
Views: 1634

Re: "Undefined Reference" linker errors

That worked, doublemax! Thank you!!!
by ColleenKobe
Wed May 31, 2017 9:16 pm
Forum: Compiler / Linking / IDE Related
Topic: "Undefined Reference" linker errors
Replies: 8
Views: 1634

Re: "Undefined Reference" linker errors

doublemax, I do understand that the declarations in the h and cpp files must be identical. I changed the declarations in the cpp file, made a temp copy of the file, and ran a macro to strip out all the lines in the temp file that were not procedure/function declarations. Then I appended semicolons a...
by ColleenKobe
Wed May 31, 2017 8:02 pm
Forum: Compiler / Linking / IDE Related
Topic: "Undefined Reference" linker errors
Replies: 8
Views: 1634

Re: "Undefined Reference" linker errors

void Initialize (Global_Data_Class* GM_Ptr) { Local_GM_Ptr = GM_Ptr; // Get a copy of the pointer to the // global data class. Use the global // data pointer throughout this class to // update global memory values. Should be: void Global_Data_Class::Initialize (Global_Data_Class* GM_Ptr) { Local_GM...
by ColleenKobe
Wed May 31, 2017 7:25 pm
Forum: Compiler / Linking / IDE Related
Topic: "Undefined Reference" linker errors
Replies: 8
Views: 1634

Re: "Undefined Reference" linker errors

My best guess would be that all those methods are declared (in the header file), but they have no body. Are they defined in the .CPP file? Thank you for replying, doublemax. Yes, the procedures and functions are defined in both the .h file and the .CPP body. Otherwise, I'm pretty sure the code woul...
by ColleenKobe
Wed May 31, 2017 5:31 pm
Forum: Compiler / Linking / IDE Related
Topic: "Undefined Reference" linker errors
Replies: 8
Views: 1634

"Undefined Reference" linker errors

I'm having a problem that I don't know how to fix. wxWidgets compiles all my source files without any problem, but then I get a list of error messages saying "undefined reference to 'x'," where 'x' is the name of a user-defined procedure or function in one of my *.h files. See the attached print-scr...
by ColleenKobe
Fri May 19, 2017 11:23 am
Forum: General Development
Topic: Software Architecture for Reusable Code
Replies: 4
Views: 1031

Re: Software Architecture for Reusable Code

[snip]One generic answer would be to put the class into a library. That way future projects can access the calls easily, by linking to that library. [snip] Thank you for your suggestion, David! So I would need to compile and link to get a *.dll, correct? Then when that code is needed for another pr...