Printing example

If you are using the main C++ distribution of wxWidgets, Feel free to ask any question related to wxWidgets development here. This means questions regarding to C++ and wxWidgets, not compile problems.
Post Reply
User avatar
archman007
Earned a small fee
Earned a small fee
Posts: 11
Joined: Mon Jan 13, 2020 1:06 pm

Printing example

Post by archman007 » Tue Jan 14, 2020 2:44 pm

I am using the printing example in wxWidgets. Made the source part of a codeblocks project. CreateFromUnknownDC is not resolved. What would be a solution to this problem? wxWidgets-3.1.2/samples/printing.

Thanks

ONEEYEMAN
Part Of The Furniture
Part Of The Furniture
Posts: 4235
Joined: Sat Apr 16, 2005 7:22 am
Location: USA, Ukraine

Re: Printing example

Post by ONEEYEMAN » Tue Jan 14, 2020 3:22 pm

Hi,
Can you build the sample with the provided makefile/solution and not from inside C::B?

Thank you.

User avatar
archman007
Earned a small fee
Earned a small fee
Posts: 11
Joined: Mon Jan 13, 2020 1:06 pm

Re: Printing example

Post by archman007 » Tue Jan 14, 2020 5:04 pm

I have done that also recompiled with debugger enabled and that works fine. I would like to work inside CodeBlocks IDE. That increases my productivity.

Thanks

User avatar
archman007
Earned a small fee
Earned a small fee
Posts: 11
Joined: Mon Jan 13, 2020 1:06 pm

Re: Printing example

Post by archman007 » Tue Jan 14, 2020 5:13 pm

I have also just completed an app that builds a C::B project utilizing examples source code. The app works fine.

ONEEYEMAN
Part Of The Furniture
Part Of The Furniture
Posts: 4235
Joined: Sat Apr 16, 2005 7:22 am
Location: USA, Ukraine

Re: Printing example

Post by ONEEYEMAN » Tue Jan 14, 2020 5:18 pm

Hi,
Something inside the C::B project is set up incorrectly.
You will need to raise this with the C::B forum (people) as its not really wxWidgets problem.

Thank you.

User avatar
archman007
Earned a small fee
Earned a small fee
Posts: 11
Joined: Mon Jan 13, 2020 1:06 pm

Re: Printing example

Post by archman007 » Tue Jan 14, 2020 5:31 pm

Thank you

Post Reply