Search found 211 matches

by Frank
Fri Jan 23, 2009 1:15 pm
Forum: Open Discussion
Topic: Nokia to license Qt under LGPL
Replies: 9
Views: 9492

I know. And I don't want to diss wx. I like wx :) My point is, native or not is not really important, when the user can't distinguish between an real native toolkit or a emulation. And from that point of view, without looking it up in the documentaion I could not tell the difference when using Torto...
by Frank
Thu Jan 22, 2009 12:26 pm
Forum: Open Discussion
Topic: Nokia to license Qt under LGPL
Replies: 9
Views: 9492

Not good enough for many of your users though. There's a big difference between looking native, and behaving native. Each of the platforms has different behaviors and features built into each native control, and it's really worse when a control is rendered like it's a native control, but doesn't be...
by Frank
Thu Jan 15, 2009 9:47 pm
Forum: Open Discussion
Topic: Nokia to license Qt under LGPL
Replies: 9
Views: 9492

Native or not... It looks native, it even uses my Windows-Visual Style, that's good enough for me.

MOC on the other Hand... No thanks. I prefer to develop in C++, not some Extension-Language.
by Frank
Tue Jan 06, 2009 12:15 pm
Forum: General Development
Topic: wxTNG/3.0 Release?
Replies: 2
Views: 1080

As far as I know (and that is not that much), 3.0 has nothing to do with wxTNG.

It has new support for an UTF8-Build, so it deserves a new major version. But it's the same old API.
by Frank
Fri Jan 02, 2009 2:02 pm
Forum: C++ Development
Topic: using wxFocusEvent and wxMouseEvent event macros
Replies: 1
Views: 828

You can use wxEvtHandler::Connect to connect an Event to whichever window you want. // myCtrl is the control, for wich you want the Focus-Event // MyPanel is your Panel, wich shall handle the Event myCtrl->Connect(wxEVT_SET_FOCUS,wxFocusEventHandler(MyPanel::OnSetFocus), NULL, this); For more on wxE...
by Frank
Thu Jan 01, 2009 6:21 pm
Forum: C++ Development
Topic: Why are all the objects pointers?
Replies: 8
Views: 3103

I was wondering so how can we make maximum use of C++'s GOD-LIKE-CONTROL of variable/object's creation(on the stack or on the heap) and lifetime and a lot of C++'s powerful advantage if almost all the lib create object on the heap as other oop lauages do? You just can't do it with wxWindow-Derived ...
by Frank
Sun Dec 28, 2008 7:06 am
Forum: C++ Development
Topic: how to build a tree data structure with the built-in wxSTL?
Replies: 1
Views: 695

What is wxSTL? Never heard of it.

If you wann't a binary search tree, you can use std::set or std::map for unique items. For multiple items with the same keys there is std::multiset and std::multimap.
by Frank
Thu Dec 25, 2008 4:04 am
Forum: Platform Related Issues
Topic: Does wxWdigets support COM/Atl/ActiveX on windows platform
Replies: 1
Views: 725

I have not used it myself, but there is a wxActiveXContainer (see wxWidgets Docs, link is on top of this forum).

So, if you want to embedd ActivX-Controls in your application, that should be possible.
by Frank
Mon Dec 15, 2008 1:35 pm
Forum: C++ Development
Topic: export/import dbf file
Replies: 2
Views: 847

You should be able to open the dbf file via wxODBC.

The ODBC-Driver for DBF is installed with windows. The Connection-String can be found on http://connectionstrings.com/

Never tried the wxODBC-Classes, but with my own ODBC-Classes I can Import DBF without problems.
by Frank
Sun Nov 23, 2008 11:32 am
Forum: General Development
Topic: safety Development
Replies: 4
Views: 1359

Use a database that uses ACID and takes care of the write behind cache (of the os and the harddisk controller). Like SQLite.

Unplugging the computer while a transaction is in progress is a common test case for such databases.
by Frank
Wed Oct 29, 2008 1:18 pm
Forum: C++ Development
Topic: wxFrame::Show without gaining focus
Replies: 3
Views: 1403

I had the same problem some time ago (see http://forums.wxwidgets.org/viewtopic.p ... ight=focus)

The answer was to use the flag wxFRAME_TOOL_WINDOW. That worked for me. On Windows that is. Don't know how it behaves on unix.
by Frank
Wed Oct 01, 2008 8:22 pm
Forum: C++ Development
Topic: Modal and threads question
Replies: 5
Views: 1844

I tried that some time ago. Never found a solution. Seems to be a design flaw of wx. It's no Problem with WinAPI or other toolkits to make your Dialog Modal to your Parent and only the parent. But with wx that seems to be imposslble.

The same goes for MakeModal().
by Frank
Wed Oct 01, 2008 2:20 pm
Forum: C++ Development
Topic: Modal and threads question
Replies: 5
Views: 1844

I start my threads mostly in the constructor. Sometimes I make a MyDialog::doIt(), wich first starts the thread, then calls ShowModal on itself. bool MyDialog::doIt () { boost::thread(boost::bind(&MyDialog::thread, this)); // Should work fine with wxThread too, but I don't know how to use it ret...
by Frank
Thu Sep 25, 2008 9:16 am
Forum: C++ Development
Topic: Read text file backwards
Replies: 22
Views: 5379

Has wx a wrapper for memory mapped files? If so, I would use these.
by Frank
Tue Sep 16, 2008 4:07 pm
Forum: Compiler / Linking / IDE Related
Topic: Is there plugin for form designs in the IDE Visual c++?
Replies: 1
Views: 761

I never heard of any FormBuilder-Integration for WX in Visual Studio. But I never missed it, so... What I'm doing is adding the *.fbp Files (from wxFormBuilder) to the project (create a new "Filter" first, so that they are displayed in an own folder). Now I can start wxFormBuilder simply b...