Search found 31 matches

by normunds
Tue Dec 30, 2008 8:46 am
Forum: C++ Development
Topic: wxListBox item height
Replies: 2
Views: 685

well, I want to remove vertical scrollbar and show to user all items (by changing wxListBox height)
spectrum wrote:
Maybe if you post what you want to achieve, someone easily will find you a different way to do it.
by normunds
Mon Dec 29, 2008 1:43 pm
Forum: C++ Development
Topic: wxListBox item height
Replies: 2
Views: 685

wxListBox item height

How to get wxListBox item height?
by normunds
Wed Nov 12, 2008 2:34 pm
Forum: Compiler / Linking / IDE Related
Topic: Cross-Compiling under Windows for Mac
Replies: 5
Views: 1042

That's bad. And what about for Mac OS X on Linux?
upCASE wrote:Hi!
I may be wrong on this, but I do not believe that this is possible. At least I never heard of a cross-compiler that would be able to do that.
by normunds
Wed Nov 12, 2008 10:50 am
Forum: Compiler / Linking / IDE Related
Topic: Cross-Compiling under Windows for Mac
Replies: 5
Views: 1042

Cross-Compiling under Windows for Mac

Is there any tutorial or hints, how to compile for Mac OS X on Windows?
by normunds
Fri Oct 31, 2008 11:55 am
Forum: C++ Development
Topic: Resizing listctrl in wxListbook
Replies: 3
Views: 954

This doesn't work :(
Any other solution?
teemo wrote:the following code doesn't work:

m_Listbook->GetListView()->SetColumnWidth( 0, 100 );
by normunds
Mon Jul 14, 2008 7:20 am
Forum: Platform Related Issues
Topic: wxTextCtrl border
Replies: 4
Views: 1438

It looks like it was a bug and should be fixed in 2.8.8 - Fixed rendering of borders for wxTextCtrl with wxTE_RICH(2) style when using Windows XP's Classic UI theme. Problem was solved by removing wxTE_RICH setting and installing complex script and right-to-left languages support in Regional and Lan...
by normunds
Thu Jun 19, 2008 6:22 am
Forum: C++ Development
Topic: wxString and '\0'
Replies: 6
Views: 1428

OK, my mistake, you can append to wxString '\0' symbol, but you can't do such:

Code: Select all

wxString c = _T("\x00");
int len = c.Length(); // len is 0
Why?
by normunds
Wed Jun 18, 2008 10:59 am
Forum: C++ Development
Topic: wxString and '\0'
Replies: 6
Views: 1428

You can store any character in a wxString. You can even read a file to it, write it back later without any problems (in ANSI mode). But if you use the c_str() conversion method that exports the buffer of a wxString as a const char * and you send it to a normal c style method, it will stop reading t...
by normunds
Wed Jun 18, 2008 7:43 am
Forum: C++ Development
Topic: wxString and '\0'
Replies: 6
Views: 1428

wxString and '\0'

Is it possible to save '\0' character into wxString? If not, what is preferred way to save zero values into string? wxChar[], wxCharBuffer, char[] or other?

At the end I should convert that content to char *
by normunds
Wed Jun 11, 2008 6:47 am
Forum: Platform Related Issues
Topic: wxTextCtrl border
Replies: 4
Views: 1438

Problem was solved by removing wxTE_RICH setting and installing complex script and right-to-left languages support in Regional and Language Options
by normunds
Tue Jun 03, 2008 6:56 am
Forum: Platform Related Issues
Topic: wxTextCtrl border
Replies: 4
Views: 1438

Grrr wrote:Try using wxBORDER_THEME.
Does not help. When I'm using wxBORDER_THEME in WinXP classic theme - there is no border to wxTextCtrl at all, with or without wxTE_RICH setting. What does it means?

Latest wxWidgets version ...
by normunds
Fri May 30, 2008 12:15 pm
Forum: Platform Related Issues
Topic: wxTextCtrl border
Replies: 4
Views: 1438

wxTextCtrl border

Hi all! I should use wxTE_RICH or wxTE_RICH2 flag to display Arabic characters in wxTextCtrl. When I set this flag and WinXP theme is classic - there is no border around field at all!! In WinXP theme there is nice blue border. When I set wxSIMPLE_BORDER flag in classic theme there is border and in W...
by normunds
Wed Feb 27, 2008 6:53 am
Forum: C++ Development
Topic: Dynamic panel creation and layout
Replies: 4
Views: 2044

10x, missing magic keyword was ->Layout()
by normunds
Tue Feb 26, 2008 10:05 am
Forum: C++ Development
Topic: Dynamic panel creation and layout
Replies: 4
Views: 2044

Dynamic panel creation and layout

Hi all, I'm making an application where after button press one panel changes to another. Everything is working except the layout. New panel is not in old place (right and expanded) but in top left corner over the button. Can you help me put new panel in old place? testMain.cpp #include "testMain.h" ...