Search found 85 matches

by beyondlwm
Wed Feb 17, 2016 2:21 am
Forum: Component Writing
Topic: How to write Unity style grid property?
Replies: 2
Views: 1755

Re: How to write Unity style grid property?

Hi,

The accordion control is very cool, it can resolve some of our problem for sure.
However, we have already heavily lean on property grid, so I have to find a way out in property grid.

Regards
by beyondlwm
Tue Feb 16, 2016 8:44 am
Forum: Component Writing
Topic: How to write Unity style grid property?
Replies: 2
Views: 1755

How to write Unity style grid property?

QQ图片20160216164311.png
QQ图片20160216164311.png (21.48 KiB) Viewed 1755 times
Two float property can be in same row. with an extra button.
by beyondlwm
Thu Oct 08, 2015 6:56 am
Forum: C++ Development
Topic: How to make wxMessageBox modal
Replies: 1
Views: 458

How to make wxMessageBox modal

Hi,

Is there any way to make the wxMessageBox modal? I try to set the parent window or stay_on_top flag, doesn't work.

Regards
by beyondlwm
Fri Mar 06, 2015 1:33 pm
Forum: C++ Development
Topic: wxGrid::DeleteRows won't update the row label?
Replies: 1
Views: 539

wxGrid::DeleteRows won't update the row label?

Hi max,

I found the row labels always keeps the order if I have delete some rows middle(the label won't also be deleted).
Is it intend? or can the label be delete with the row?

Regards
by beyondlwm
Thu Mar 05, 2015 3:35 pm
Forum: C++ Development
Topic: How to make ANSI lib compatible to utf8 string.
Replies: 8
Views: 1465

Re: How to make ANSI lib compatible to utf8 string.

Hi max, I know exactly what you mean, every Unicode string in vs source code file is utf16. But the pain is, I will receive some string value from wxgrid / wxstringproperty, and show some utf8 data to wxlabel / wxstatictext, which is read from file. For now, I call wxstring::fromutf8 when I read fro...
by beyondlwm
Thu Mar 05, 2015 12:38 pm
Forum: C++ Development
Topic: How to make ANSI lib compatible to utf8 string.
Replies: 8
Views: 1465

Re: How to make ANSI lib compatible to utf8 string.

Hi DenDev,

What I mean is, if I use unicode version of wxwidgets, what can I do to make wxString is utf8. So I don't need to call wxString::FromUtf8 and wxString::ToUtf8 everywhere.

Regards
by beyondlwm
Thu Mar 05, 2015 11:20 am
Forum: C++ Development
Topic: How to make ANSI lib compatible to utf8 string.
Replies: 8
Views: 1465

Re: How to make ANSI lib compatible to utf8 string.

Hi max,

If I use the unicode version of wxwidgets, what should I do?
I will compare two solutions and choose the easier one.

Regards.
by beyondlwm
Thu Mar 05, 2015 9:36 am
Forum: C++ Development
Topic: How to make ANSI lib compatible to utf8 string.
Replies: 8
Views: 1465

Re: How to make ANSI lib compatible to utf8 string.

By the way, when user enter text value in wxStringProperty or GetTextFromUser, can it automatically turn the result to utf8?
by beyondlwm
Thu Mar 05, 2015 9:18 am
Forum: C++ Development
Topic: How to make ANSI lib compatible to utf8 string.
Replies: 8
Views: 1465

How to make ANSI lib compatible to utf8 string.

Hi max, For some reason, we are using ANSI version of wxwidgets 3.0.2 under windows 7. wxwidgets works fine until we decide to change our string format to utf8. So we have to change the code such like wxString strValue = "中文字体"; (chinese character) To wxString strValue = wxString::FromUtf8("中文字体");....
by beyondlwm
Tue Jan 13, 2015 3:53 pm
Forum: C++ Development
Topic: [HELP!]Got a crash everytime after I upgrade
Replies: 5
Views: 1044

Re: [HELP!]Got a crash everytime after I upgrade

Hi max and tex, after I see your posts, I clean all my solution and redownload a wxwidgets source code to build a brand new lib, bug still exists. And I do nothing special in Init sutff. So, I change the code, use a buffer cache the oldloc instead of saving the pointer, everything works fine. I chec...
by beyondlwm
Tue Jan 13, 2015 8:50 am
Forum: C++ Development
Topic: [HELP!]Got a crash everytime after I upgrade
Replies: 5
Views: 1044

Re: Got a crash everytime after I upgrade

After I dig deeper, I guess is this a bug: QQ图片20150113164801.jpg He wants to store a value for loc-old, and restore it when leave this function. However, the value has been changed in SetAllLocaleFacets(""); the pointer point to a messy memory(I don't know what's going on in it.) When we leave the ...
by beyondlwm
Tue Jan 13, 2015 8:34 am
Forum: C++ Development
Topic: [HELP!]Got a crash everytime after I upgrade
Replies: 5
Views: 1044

[HELP!]Got a crash everytime after I upgrade

Hi,

I upgrade wxwidgets from 3.0.0 to 3.0.2 last night, and every time I launch my program, I will get an assert and then crash.
I do not pass any parameters to the program. few times, It works, but crash at another place.
Any idea about this? Thanks in advance.


Regards
by beyondlwm
Mon Jan 12, 2015 6:04 pm
Forum: C++ Development
Topic: How to use wxwidgets in multi-byte project
Replies: 4
Views: 1067

Re: How to use wxwidgets in multi-byte project

Nice, it works! Thanks!
by beyondlwm
Mon Jan 12, 2015 5:45 pm
Forum: C++ Development
Topic: How to use wxwidgets in multi-byte project
Replies: 4
Views: 1067

Re: How to use wxwidgets in multi-byte project

hi max,

Is there any tourist for how to using a command line to build wxwidgets lib?

Regards
by beyondlwm
Mon Jan 12, 2015 5:21 pm
Forum: C++ Development
Topic: How to use wxwidgets in multi-byte project
Replies: 4
Views: 1067

How to use wxwidgets in multi-byte project

hi all, I'm trying to use wxwidgets in a multi-byte project(which means I choose "Use Multi-Byte Character Set" in project property). However, I always got : '../../../lib/vc_dll/mswd/wx/setup.h' while I can only get "mswud" directory from the lib. I've already set wxUSE_UNICODE to 0 in the header f...