Powerbasic Museum 2020-B

General Category => General Discussion => Topic started by: Paul Breen on April 15, 2008, 08:32:56 AM

Title: win32 graphics vs wxWidgets
Post by: Paul Breen on April 15, 2008, 08:32:56 AM
I have noticed wxwidgets is getting everywhere. Python, freebasic, c++ etc. What is the down-side to using this graphics pkg versus win32? I realize this is not a wxwidget forum but there are a lot of win32 experts here. Same graphic pkg over multi-platforms and languages looks enticing. Do you lose speed or what? I have no set position but by the way it is free.
Title: Re: win32 graphics vs wxWidgets
Post by: Theo Gottwald on April 15, 2008, 11:45:12 AM
Link:

WxWidgets (http://www.wxwidgets.org/downloads/demos.htm)

To me the Demo Aps  (http://biolpc22.york.ac.uk/pub/binary/wxWidgets-DialogsDemo-Windows.zip) look interesting.

While, the style looks 100% like those Dialogs we know, maybe the widgets are a easy way to get all those often used dialogs in one place?

Thats one of those things I miss a bit about PB. The ease of making Dialogs modular.

Can wXWidgets easily be used from PB?

Title: Re: win32 graphics vs wxWidgets
Post by: José Roca on April 15, 2008, 12:44:23 PM
 
Quote
Can wXWidgets easily be used from PB?

Although it has been written using C++ classes, the DLL provides exported functions. Write PB declares for them and try it.
Title: Re: win32 graphics vs wxWidgets
Post by: Eros Olmi on April 15, 2008, 02:18:07 PM
Theo,

wrong link in "Demo Aps": "ftp//" too much.

Title: Re: win32 graphics vs wxWidgets
Post by: Frederick J. Harris on April 15, 2008, 06:33:09 PM
I seem to remember looking at that one time when I was searching for a GUI toolkit to use for Linux programming, and I found some easy sample Linux programs using wxWidgets, and the Linux exes were huge.  At that point I decided it wasn't what I wanted.  Linux exes are usually pretty small - even smaller than PB ones.
Title: Re: win32 graphics vs wxWidgets
Post by: Theo Gottwald on April 15, 2008, 07:53:55 PM
@Eros, thanks, corrected.
The Forum-Software automatically attaches a http:\\, while the original link was already with ftp.

They say that the thing about it is, that it is cross-platform.
Its not really what I need, I'd actually prefer something new for Windows from Bob :-).