Search found 36 matches

by zaazbb
Tue Jan 06, 2015 8:58 am
Forum: General Development
Topic: How to contribute to wxPython Phoenix?
Replies: 3
Views: 2950

Re: How to contribute to wxPython Phoenix?

The source code is actually mirrored to GitHub: https://github.com/wxWidgets/Phoenix (though patches aren't handled through GitHub) Of course, you'd have to actually jump on the relevant wxPython mailing lists to get involved. Most wxPython devs aren't regulars on these forums. yes, the source code...
by zaazbb
Mon Jan 05, 2015 5:46 am
Forum: General Development
Topic: How to contribute to wxPython Phoenix?
Replies: 3
Views: 2950

How to contribute to wxPython Phoenix?

the wxPython wiki is down.
and should move wxWidgets and wxPython source codes to github or bitbucker, or update svn to hg or git, so more contributors can join in earlier.

the wxPython Phoenix develop progress is too slow. I wait it from python3.0 to now, about 2 years, it still not come. :(
by zaazbb
Sat Aug 11, 2012 2:45 pm
Forum: C++ Development
Topic: Can not change wxStaticText's ForegroundColour on windowXP?
Replies: 2
Views: 1523

Re: Can not change wxStaticText's ForegroundColour on window

doublemax wrote:Call StaticText3->Refresh() after changing the color.
now it works.
thanks.
by zaazbb
Sat Aug 11, 2012 2:54 am
Forum: C++ Development
Topic: Can not change wxStaticText's ForegroundColour on windowXP?
Replies: 2
Views: 1523

Can not change wxStaticText's ForegroundColour on windowXP?

on window xp, those code can't work. the SetForegroundColour() return true, but can't change StaticText3's ForegroundColour. how can i change wxStaticText ForegroundColour? which member function can i use? wxColour OldColour = StaticText3->GetForegroundColour(); wxColour NewColour = wxGetColourFromU...
by zaazbb
Sat Apr 14, 2012 4:02 pm
Forum: wxWidgets Development (Chinese)
Topic: winxp下用mingw编译出的程序启动很慢?如何解决。。
Replies: 9
Views: 9106

Re: winxp下用mingw编译出的程序启动很慢?如何解决。。

目前用静态库编译可以解决这个问题,静态编译后,程序启动很快.(将wxWidget编译为静态库,不使用dll, 同时使用-static,静态编译)
by zaazbb
Fri Feb 24, 2012 2:29 am
Forum: C++ Development
Topic: compile wxThreadHelper example meet a error??
Replies: 1
Views: 1286

compile wxThreadHelper example meet a error??

when i compile wxThreadHelper example, I meet a error "invalid static_cast from type 'void (MyFrame::*)(wxThreadEvent&)'to type 'wxCommandEventFuntion(aka void (wxEvtHandler::*)(wxCommandEvent&))' ..." on line "EVT_COMMAND(wxID_ANY, wxEVT_COMMAND_MYTHREAD_UPDATE, MyFrame::OnTh...
by zaazbb
Mon Feb 20, 2012 3:14 am
Forum: C++ Development
Topic: in wxmutex example, where is this symbol defined??
Replies: 3
Views: 1684

in wxmutex example, where is this symbol defined??

in wxmutex example, where is this symbol "s_mutexProtectingTheGlobalList" definedl?? i can not fine the place where the symbol "s_mutexProtectingTheGlobalList" defined. is it "s_mutexProtectingTheGlobalData" writed by mistake??? // this variable has an "s_" pr...
by zaazbb
Sun Dec 18, 2011 3:23 am
Forum: wxWidgets Development (Chinese)
Topic: 使用CodeBlocks,有中文时,文件自动保存为UTF8格式,致使中文乱码,怎么解决啊??
Replies: 5
Views: 10138

使用CodeBlocks,有中文时,文件自动保存为UTF8格式,致使中文乱码,怎么解决啊??

如题.
在使用CodeBlock+wxsmith时,如果输入中文, 保存时,会自动保存为UTF8格式, 编译运行后, 中文就乱码了.
如果手动改文件编码,gcc编译时又会报错...
by zaazbb
Sun Dec 04, 2011 3:29 am
Forum: wxWidgets Development (Chinese)
Topic: 菜鸟请教:如何使用wxcode中的插件——急用wxctb
Replies: 9
Views: 8798

Re: 菜鸟请教:如何使用wxcode中的插件——急用wxctb

最新的貌似也没什么更新哦, 只是更改了编译使用的makefile

最重要的,使用这库,就要使用查询方式来读取串口数据,很不方便,如果改成事件触发的,那就好了~~

而且使用静态编译时,将makefile中

Code: Select all

# Standard linker flags 
LDFLAGS ?= 
改为

Code: Select all

# Standard linker flags 
LDFLAGS ?= share
不行哦, 我是直接添加src文件来编译的~~,没使用.a文件.
by zaazbb
Sun Dec 04, 2011 3:26 am
Forum: wxWidgets Development (Chinese)
Topic: 一個新手的蠢問題:如何釋出程式包含所需的DLL?
Replies: 3
Views: 4377

Re: 一個新手的蠢問題:如何釋出程式包含所需的DLL?

首先编译wxwidgets,使用 mingw32-make -f makefile.gcc MONOLITHIC=1 SHARED=0 UNICODE=1 BUILD=release
将minw的编译设置加上 -static

编译出来的exe就不依赖dll文件了
但是,exe文件有点大,一般在6M多,
现在最后用upx压缩一下,压缩有一半有1M多.

压缩后的exe就可以完美运行了, 而且程序启动速度也比使用dll快了很多,以前使用dll启动要卡几秒的~~
by zaazbb
Sun Dec 04, 2011 3:12 am
Forum: wxWidgets Development (Chinese)
Topic: 菜鸟请教:如何使用wxcode中的插件——急用wxctb
Replies: 9
Views: 8798

Re: 菜鸟请教:如何使用wxcode中的插件——急用wxctb

是一个东西, 以前叫wxctb, 现在他们认为这东西可以不依赖界面,直接使用在命令行程序里,就改名了~
by zaazbb
Mon Oct 24, 2011 2:18 am
Forum: wxWidgets Development (Chinese)
Topic: 控件的min width,min height 和max width, max height 是做什么用的?
Replies: 1
Views: 3026

控件的min width,min height 和max width, max height 是做什么用的?

控件的min width,min height 和max width, max height 是做什么用的?

如果设置窗体大小, 是设置 width,和height么? ,min和max width/height 是干什么么呢?
by zaazbb
Fri Oct 21, 2011 4:56 pm
Forum: General Development
Topic: Starting the program was very slow (use wxwidgets2.9.2)
Replies: 0
Views: 25283

Starting the program was very slow (use wxwidgets2.9.2)

hello, every one, I am using codeblocks+mingw+wxwidgets2.9.2, but I find that,Starting the program (compile by mingw + wxwidgets2.9.2, under winxp sp3) was very slow. when I click the exe file, after about 4~5 seconds, the window appeared. but when i use wxwidgets2.9.1 or wxwidgets2.8.12, Without th...
by zaazbb
Fri Oct 21, 2011 4:28 pm
Forum: wxWidgets Development (Chinese)
Topic: winxp下用mingw编译出的程序启动很慢?如何解决。。
Replies: 9
Views: 9106

Re: winxp下用mingw编译出的程序启动很慢?如何解决。。

wxWidgets-2.9.2\samples\minimal 下编译的exe和dll文件我都打包了,这里可以下载 可下载数:20 共享链接:http://163.fm/TX0hTZq 提取码:sY7qC5R7 现在在我电脑上 xp sp3 ,点击exe文件要等4~5秒才出窗口... 我使用 这样的编译命令 SET PATH=D:\ProgramFiles\MinGW\bin cd /d D:\ProgramFiles\wxWidgets-2.9.2\build\msw mingw32-make -f makefile.gcc MONOLITHIC=0 SHARED=1 UNICODE=1 B...