wxWidgets的惊人发现

这是wxWidgets论坛的中文版本。在这里,您可以用您的母语汉语讨论上面任一子论坛所涉及的所有关于wxWidgets的话题。欢迎大家参与到对有价值的帖子的中英互译工作中来!
Post Reply
davidfluid
In need of some credit
In need of some credit
Posts: 4
Joined: Thu Aug 27, 2009 1:47 am

wxWidgets的惊人发现

Post by davidfluid » Thu Aug 27, 2009 2:02 am

在wxWidgets的自带的打印的例子中
if (!printer.Print(this, &printout, true /*prompt*/))

当把true /*prompt*/ 改成false ,居然打印不成功????哎

arust
Knows some wx things
Knows some wx things
Posts: 34
Joined: Tue Jan 15, 2008 5:13 am
Location: Beijing, China

Post by arust » Thu Sep 03, 2009 4:14 am

有什么出错提示?
是用的 VC 编译器吗?

ccnyou
Knows some wx things
Knows some wx things
Posts: 33
Joined: Fri Sep 28, 2012 8:08 am

Re: wxWidgets的惊人发现

Post by ccnyou » Fri Mar 29, 2013 11:33 am

davidfluid wrote:在wxWidgets的自带的打印的例子中
if (!printer.Print(this, &printout, true /*prompt*/))

当把true /*prompt*/ 改成false ,居然打印不成功????哎
你输出的时候有没有刷新缓冲区?有没有输出\r\n?

fancyivan
Experienced Solver
Experienced Solver
Posts: 80
Joined: Wed May 26, 2010 8:42 am
Location: Beijing, China
Contact:

Re: wxWidgets的惊人发现

Post by fancyivan » Sun Mar 31, 2013 1:29 pm

这是在挖坟么
ccnyou wrote: 你输出的时候有没有刷新缓冲区?有没有输出\r\n?
OS: Win7 Ultimate SP1 x64(Windows XP Pro SP3 in VirtualBox)
Compiler: MinGW32 (gcc4.8.1 + gdb7.6.1)
IDE: Code::Blocks 12.11
Lib: wxWidgets3.0.0

Post Reply