Alignment not a member of wx error
Rajinder Bajwa <[email protected]> Mon, 23 May 2005 10:36:31 -0700 (PDT)
| Newsgroups | gmane.comp.lib.wxwindows.wxnet |
|---|---|
| Message-ID | <[email protected]> |
Hi Guys,
I have converted my xrc files to vb using the towxnet
utility. However when I compile the vb file, i get
errors . Most of the errors are that Alignment is not
a member of wx. I get errors for the first 4 lines of
codes but not the last three.
Dim boxsizer20 As New BoxSizer( Orientation.wxVERTICAL
)
boxsizer20.Add(wxID_STATIC, 0,
wx.Alignment.wxALIGN_LEFT Or wx.Direction.wxALL Or
wx.Stretch.wxADJUST_MINSIZE, 5)
boxsizer20.Add(wxID_STATIC, 0,
wx.Alignment.wxALIGN_LEFT Or wx.Direction.wxALL Or
wx.Stretch.wxADJUST_MINSIZE, 5)
boxsizer20.Add(wxID_STATIC, 0,
wx.Alignment.wxALIGN_LEFT Or wx.Direction.wxALL Or
wx.Stretch.wxADJUST_MINSIZE, 5)
boxsizer20.Add(wxID_STATIC, 0,
wx.Alignment.wxALIGN_LEFT Or wx.Direction.wxALL Or
wx.Stretch.wxADJUST_MINSIZE, 5)
boxsizer20.Add(wxID_STATIC, 0,
wx.Alignment.wxALIGN_LEFT Or wx.Direction.wxALL Or
wx.Stretch.wxADJUST_MINSIZE, 5)
boxsizer20.Add(more, 0,
wx.Alignment.wxALIGN_LEFT Or wx.Direction.wxRIGHT Or
wx.Direction.wxTOP Or wx.Direction.wxBOTTOM, 5)
Can anyone please let me know why it is doing that? I
can include the entire vb file if you need it. I would
really appreciate all the help .
Thanks
-Raj
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
-------------------------------------------------------
This SF.Net email is sponsored by Oracle Space Sweepstakes
Want to be the first software developer in space?
Enter now for the Oracle Space Sweepstakes!
http://ads.osdn.com/?ad_id=7412&alloc_id=16344&op=click