Search found 44 matches

by Lowkus
Sun Oct 15, 2017 5:28 am
Forum: C++ Development
Topic: UUID DataType
Replies: 4
Views: 96

Re: UUID DataType

I have been unable to get that library to work. It uses OS calls to generate the UUID values, so possibly it can't handle that I'm running Windows Vista (or a more likely reason is that I screwed up linking the library somehow). Are there libraries you can recommend that will provide UUID without ca...
by Lowkus
Wed Sep 20, 2017 5:15 am
Forum: C++ Development
Topic: UUID DataType
Replies: 4
Views: 96

UUID DataType

Does wxWidgets provide a UUID class that works across platforms? I'm seeing a UUID class in "wx/msw/ole/uuid.h", but is that only for Windows builds or will it compile cross-platform? Is there a better solution for implementing UUID datatypes in a wxWidgets C++ application?
by Lowkus
Mon Jul 31, 2017 6:24 am
Forum: C++ Development
Topic: Assigning NULL to wxDateTime?
Replies: 1
Views: 94

Assigning NULL to wxDateTime?

Is there a datatype similar to wxDateTime but that also allows assignment of a NULL value? I'm trying to do something like this...

Code: Select all

wxDateTime Book::getDate()
{
    wxDateTime val;
    val = NULL; //No date is assigned yet.
    return val;
}


Or will I have to return wxDateTime*?
by Lowkus
Thu Jul 06, 2017 1:35 am
Forum: C++ Development
Topic: wxFrame Minimum Size on Load
Replies: 1
Views: 93

Re: wxFrame Minimum Size on Load

Never mind, I just had to set the wxFrame default size to something larger than the minimum size.
by Lowkus
Thu Jul 06, 2017 1:22 am
Forum: C++ Development
Topic: wxFrame Minimum Size on Load
Replies: 1
Views: 93

wxFrame Minimum Size on Load

When I load a window, the window is loaded at a size that is smaller than the wxFrame minimum size dimensions. After the window has loaded, if I use the mouse to resize the window, even just slightly, the window size is automatically enlarged to be larger than the wxFrame minimum size. How should I ...
by Lowkus
Sat Jul 01, 2017 2:07 am
Forum: Compiler / Linking / IDE Related
Topic: Adding a custom widget to wxSmith?
Replies: 12
Views: 452

Re: Adding a custom widget to wxSmith?

I'm reading up on C++ as I can find the time. I have been using Code::Blocks to make things easier when compiling for Linux.
by Lowkus
Thu Jun 29, 2017 8:58 pm
Forum: Compiler / Linking / IDE Related
Topic: Adding a custom widget to wxSmith?
Replies: 12
Views: 452

Re: Adding a custom widget to wxSmith?

I actually have decades of VB experience and I dabbled in C++ back in college, it's just that I've forgotten most of my C++ and the transition from VB.NET to C++ is not as direct as I'd hoped. But, jumping into a complex project has always been my favorite way of learning, striving for a high-qualit...
by Lowkus
Thu Jun 29, 2017 4:22 pm
Forum: Compiler / Linking / IDE Related
Topic: Adding a custom widget to wxSmith?
Replies: 12
Views: 452

Re: Adding a custom widget to wxSmith?

Your code did the trick, thanks! I'm running into a new problem though; when I put a wxCustom control onto a form, then set the class name to ArrowNav, wxSmith then auto-generates the following line of code in the form's cpp file: Custom1 = new ArrowNav(Panel1,ID_ARROWNAV1,wxDefaultPosition,wxSize(1...
by Lowkus
Mon Jun 26, 2017 6:30 pm
Forum: Compiler / Linking / IDE Related
Topic: Adding a custom widget to wxSmith?
Replies: 12
Views: 452

Re: Adding a custom widget to wxSmith?

Wow, those code brackets make a world of difference! When I post build log text should I wrap that in code brackets as well?
by Lowkus
Mon Jun 26, 2017 6:07 pm
Forum: Compiler / Linking / IDE Related
Topic: Adding a custom widget to wxSmith?
Replies: 12
Views: 452

Re: Adding a custom widget to wxSmith?

I went ahead with the suggested method of using a placeholder object then renaming it to fit the custom class I am building (ArrowNav). Unfortunately, I am still new to C++ and wxWidgets so I find myself running into a compiler problem that I haven't been able to solve. The build log shows this: Arr...
by Lowkus
Wed Jun 14, 2017 10:02 pm
Forum: Compiler / Linking / IDE Related
Topic: Adding a custom widget to wxSmith?
Replies: 12
Views: 452

Re: Adding a custom widget to wxSmith?

I was hoping there was an easy way to add a control into wxSmith without going into coding acrobatics.
by Lowkus
Tue Jun 13, 2017 6:22 pm
Forum: Compiler / Linking / IDE Related
Topic: Adding a custom widget to wxSmith?
Replies: 12
Views: 452

Adding a custom widget to wxSmith?

I'd like to add a custom widget to the wxSmith widget groups (in this case a grouping of tape-recorder style buttons). Is there a good beginner tutorial on how to do this? I've done some web searching with no luck.
by Lowkus
Tue Jun 13, 2017 6:01 pm
Forum: Compiler / Linking / IDE Related
Topic: wxSmith copy/paste sizer from one form to another?
Replies: 2
Views: 189

Re: wxSmith copy/paste sizer from one form to another?

I'm using svn 11021. It's weird that something would work in an earlier version and then break in a later version.
by Lowkus
Sat May 27, 2017 5:37 pm
Forum: Compiler / Linking / IDE Related
Topic: Error: '_waccess' was not declared in this scope
Replies: 20
Views: 1057

Re: Error: '_waccess' was not declared in this scope

wxWidgets 3.1 for Windows now needs oleacc lib. The makefile's already have it, but you must add it to your own project. I just added liboleacc.a, although the program seemed to compile fine without it. Does oleacc handle something that is not caught in the compilation process? I also noticed you h...
by Lowkus
Sat May 27, 2017 5:22 pm
Forum: Compiler / Linking / IDE Related
Topic: Error: '_waccess' was not declared in this scope
Replies: 20
Views: 1057

Re: Error: '_waccess' was not declared in this scope

ONEEYEMAN wrote:Hi,
And you were able to run the program successfully?

Thank you.


Yep, it ran successfully. I have a more complicated program I'm trying to compile now that is showing errors, but the problems I'm running into now are probably from something else entirely.

Go to advanced search