- Download and install Mingw
- Download and install MSYS
- Download and install wxWidgets
- Open VisualWx and from menu "Options\directory" set directories
MSYS,Mirc and wxWidgets
- select menu "tools\build wxWidget"
--- Select build option ( default value is "release-shared" and
"debug-shared")
--- Press build button
I downloaded and installed VisaulWx. I already had MinGw which it
apparently found as it showed in the directories. (Oh, I had to copy
the python25.dll over to the VisualWx folder to get it started.) I
also had wxWidgets on my computer but only as components of wxPython
and wxDev-C++, so I downloaded and installed wxWidgets and put that
address in the wxWidgets Directory.
I'm the first to admit than I'm not good at this kind of stuff, unless
its really obvious what I'm supposed to do, I don't know what to do.
Anyway, I fired it up, created a project, added a wxFrame in the
designer, and clicked build. I expected it to build the thing, then I
would find the 'run' button, click that and up would pop an empty
frame... Nope. When I clicked Build I got a message box "Execution
failed."
When I downloaded wxDev and installed it, it installed MinGw and had
its own copy of wxWidgets so when I did the same as above, up popped
an empty frame. In other words, I didn't have to 'configure' anything,
it came ready to go out of the box. But VisualWx looks like a better
deal and I would really like to try it but I've hit a brick wall and
haven't a clue what to do next.
--- In VisualWx@yahoogroups.com, "peterpaulwinter"
<peterpaulwinter@...> wrote:
>
> Hi there,
>
> Is VisualWx compatible with wxPython 2.8 ?
the next release of VisualWx
bye
Hi there,
Is VisualWx compatible with wxPython 2.8 ?
Can it be run with just Python 2.5 and wxPython 2.8 installed or does
it always need a wxPython 2.6 to be present?
Is there any way to use the new controls in wxPython 2.8 from
VisualWx, especially things like AUI?
Blessings,
PeterPaul
unbelievable generation wxChoice with defined items and selected initial
index
i have no words to describe it just sample
somedialog::VwXinit()
...
...
wxString brush_ch[0]Item[]={wxT("SOLID"),wxT("BACKWARD
DIAGONAL"),wxT("CROSS DIAGONAL"),wxT("FORWARD DIAGONAL"),wxT("CROSS HATCH")
,wxT("HORIZONTAL HATCH"),wxT("VERTICAL HATCH"),wxT("TRANSPARENT")};
brush_ch[0]=new
wxChoice(this,-1,VwXSetwxPoint(75,125),VwXSetwxSize(60,21),8,brush_ch[0]Item);
somewhere in a header
wxChoice *brush_ch[1];
it was wxChoice with items and itemindex (aka Index) = 0
if i not set Index - gode generation os ok
check box has a Title property,
but requried a Label,
because Title property is protected (m.b. work only in wx 2.4)
and generated code must be SetLabel()
there are bugs when buildiing menus
- disabled menu items not working because
> itemmenu = new wxMenuItem(hMenu,ID_MENU_1,wxT("TEST"),wxT(""),0);
> itemmenu->Enable(false);
> hMenu->Append(itemmenu);
code is wrong. must be
> itemmenu = new wxMenuItem(hMenu,ID_MENU_1,wxT("TEST"),wxT(""),0);
> hMenu->Append(itemmenu);
> itemmenu->Enable(false);
also call itemmenu->Check(true) if needed must be after hMenu->Append
but it's now called before :(
and the last one :)
code
> itemmenu = new wxMenuItem(hMenu,ID_MENU_1,wxT("TEST"),wxT(""),0);
working but
> itemmenu = new wxMenuItem(hMenu,ID_MENU_1,wxT("TEST"),wxT(""),2);
not because must be
itemmenu = new wxMenuItem(hMenu,ID_MENU_1,wxT("TEST"),wxT(""),wxITEM_RADIO);
overwise MSVC and gcc call another function, where last variable have
boolean type but
not Menu Item Type
so please repcase numeric constant to
wxITEM_SEPARATOR, wxITEM_NORMAL, wxITEM_CHECK or wxITEM_RADIO
--- In VisualWx@yahoogroups.com, ???? ??????? <lyapunov@...> wrote:
>
> This project cause VisualWx to crush when
> i try to change form style.
>
> i make it from _Dll_WX_NOWXAPP template
> an add one empty dialog
>
> you can download project at
> http://www.mytempdir.com/1200276
> due to yahoo attach removel feature :(
>
ok, tnks for report bug
bye
This project cause VisualWx to crush when
i try to change form style.
i make it from _Dll_WX_NOWXAPP template
an add one empty dialog
you can download project at
http://www.mytempdir.com/1200276
due to yahoo attach removel feature :(
This project cause VisualWx to crush when
i try to change form style.
i make it from _Dll_WX_NOWXAPP template
an add one empty dialog
[Non-text portions of this message have been removed]
> After some research, I have determined that the Bind should be of the
> form self.Bind(wx.calendar.EVT_CALENDAR_DAY,... not
> wx.EVT_CALENDAR_DAY,... Making this change at least made the error
> disappear!
>
> Is this correct?
yes, it is a bug
bye
Hi,
I added the calendar control and attempted to set the event
EVT_CALENDAR_DAY. However, when running the application, I received
an the error AttributeError: 'module' object has no attribute
'EVT_CALENDAR_DAY'.
After some research, I have determined that the Bind should be of the
form self.Bind(wx.calendar.EVT_CALENDAR_DAY,... not
wx.EVT_CALENDAR_DAY,... Making this change at least made the error
disappear!
Is this correct?
Russell
--- In VisualWx@yahoogroups.com, "Hendy Irawan" <gauldong@...> wrote:
>
> Does VisualWx run on Linux? Can it be compiled there?
VisualWx doesn't run on Linux
bye
Does VisualWx run on Linux? Can it be compiled there?
--
Hendy Irawan
Web: http://hendy.gauldong.net
Mobile: +62 856 24889899
Yahoo Messenger: ceefour666
thre is error in code, generated for wxWizard
void wiz::VwXVwXEvOnWizardPageChanging(wxWizardEvent& event){
wxObject *m_wxWin = event.GetEventObject();
if(m_wxWin==this){event.Skip(true);wiz_ge(event) ;return;}
event.Skip(true);
}
m_wxWin always equal to _NULL_ instead of _this_
and this is operate upon all wxWizard messages
EVT_WIZARD_CANCEL
EVT_WIZARD_FINISHED
EVT_WIZARD_HELP
EVT_WIZARD_PAGE_CHANGED
EVT_WIZARD_PAGE_CHANGING
> It is also missing the ability to use the _(...) convention for texts.
Add it to the next release
> Or missed I something, and multilingual support exists?
it does not exist
After a lot of search I have found VisualWx.
I think it is great. Looks like stabile enough to base my project on
it. It passed my experimental tests, but one thing.
I would use it in an Esperanto dictionary project, and need unicode
characters all over the menu texts and so on.
However wxPython gives a full support for this, VisualWx converts
unicode characters to ? or some other chars.
It is also missing the ability to use the _(...) convention for texts.
Is it possible somehow to build in some multilingual support.
I could give some help if I had the source.
Or missed I something, and multilingual support exists?
Best regards, Lacreinto
> i try to use the properties bar in the left, after i
> select the sizer/sizer option, but here the rows cols
> is not active.
you can't to set lines and columns for wxBoxSizer(only wxGridSizer
wxFlexGridSizer and wxGridBagSizer)
to read wxWidgets help
bye
hi
i made the following steps:
1. create an wx_sdi_python_menu app
2. in project tab/design create another wxFrame
3. select the created frame
4. with dbl click create an box sizer vertical
inthe project menu, under the Frame1 appear sz3s
sizer, in yellow color, ocuppying all the size of the
frame. this was created without asking me about the
name, rows, columns as in vide tutorial.
i try to use the properties bar in the left, after i
select the sizer/sizer option, but here the rows cols
is not active.
ok.. after that i select the sz3s sizer and with dbl
click i create an box sizer horizontal, named automat
by program sz4s. BUT still i don't know how to put
some properties on this sizer
i hope that my message is clear enough for my problem.
best regards
> this sizer occupy the entire area of the form, and when i want to put
> a box sizer horizontal, an message appear which say that another sizer
> allready use entire form
you must before to select parent sizer in the project panel, and after
to add the sizer
bye
Hi!
i am new to visualwx and python and i want to ask something:
based in you flash tutorial about how to use sizers, after i put in my
form an box sizer vertical (like in tutorial), the box with the
properties for this didn't appear - frame 115-117
this sizer occupy the entire area of the form, and when i want to put
a box sizer horizontal, an message appear which say that another sizer
allready use entire form
so, how can i use in VisualWx the flash tutorial frame by frame?
thanks a lot
--- In VisualWx@yahoogroups.com, "walterigo" <walterigo@...> wrote:
>
> How to recreate problem.
> Make a new frame.
> put a GridBag sizer in it.
> put a TextBox (or anything) in the GridSizer.
> run it
>
> you get error message saying
>
> return _core_.GridBagSizer_Add(*args, **kwargs)
> TypeError: Expected a 2-tuple of integers or a wxGBPosition object.
>
> C:\temp\visualwx>
>
ok tnx
bye