Search found 140 matches

by rsb
Wed Sep 25, 2019 12:03 pm
Forum: wxCode
Topic: PDF File Size Larger than Expected
Replies: 16
Views: 457

Re: PDF File Size Larger than Expected

utelle wrote:
I will look into this issue. However, it may take some time to implement the necessary optimizations.
Thank you very much.
by rsb
Tue Sep 24, 2019 7:39 pm
Forum: wxCode
Topic: PDF File Size Larger than Expected
Replies: 16
Views: 457

Re: PDF File Size Larger than Expected

Ok, Thanks, I'll use GitHub in the future. Here's a 7z file with the three PDF files that we generated. Two use the wxPrinter class and the third uses the wxPdfPrinter class along with the wxPdfDC class. BOARD_wxpdfprinter.pdf (size: 312KB) BOARD_wxprinter_adobe.pdf (size: 47KB) BOARD_wxprinter_bull...
by rsb
Tue Sep 24, 2019 7:00 pm
Forum: wxCode
Topic: PDF File Size Larger than Expected
Replies: 16
Views: 457

Re: PDF File Size Larger than Expected

This is the wxCode forum. Isn't it?
by rsb
Tue Sep 24, 2019 1:29 pm
Forum: wxCode
Topic: PDF File Size Larger than Expected
Replies: 16
Views: 457

PDF File Size Larger than Expected

Hello, We're getting file sizes larger than when printing using the wxPrinter class. We have a fairly simple one page design and the size of the file created using wxPdfPrinter and wxPdfDC is 312KB. The size using wxPrinter and output to Adobe is 47KB and the size using wxPrinter and output to BullZ...
by rsb
Wed Sep 04, 2019 9:30 pm
Forum: C++ Development
Topic: Choosing a Network Computer
Replies: 1
Views: 81

Choosing a Network Computer

Hello,

Does wxWidgets have a dialog or a function that can list the names of computers connected to a network?

i.e. Network Computer Chooser Dialog?

I need the list of computer names that you see in Windows Explorer under Network.

Thanks.
by rsb
Thu Jun 13, 2019 5:23 pm
Forum: C++ Development
Topic: Foreground color ignored using wxGraphicsContext
Replies: 7
Views: 203

Re: Foreground color ignored using wxGraphicsContext

Yes, if I change the brush style to filled and skip the call to SetStipple, it does draw with the correct color.

If the bitmap overrides the color, why does it work using the wxClientDC.

I'll try to come up with a small program.

Thanks very much.
by rsb
Thu Jun 13, 2019 4:53 pm
Forum: C++ Development
Topic: Foreground color ignored using wxGraphicsContext
Replies: 7
Views: 203

Re: Foreground color ignored using wxGraphicsContext

Yes, there is.

dc->SetPen(pen);
dc->SetBrush(brush);
by rsb
Thu Jun 13, 2019 4:49 pm
Forum: C++ Development
Topic: Foreground color ignored using wxGraphicsContext
Replies: 7
Views: 203

Re: Foreground color ignored using wxGraphicsContext

Inside this routine, graphics__set_foreground_color(window_attribute_p,dc,window_attribute_p->active_color_index); The brush is set as follows: wxBrush brush = dc->GetBrush(); brush.SetColour( foregroundColour ); // Green brush.SetStyle( wxBRUSHSTYLE_STIPPLE_MASK_OPAQUE ); brush.SetStipple( *pWX_bit...
by rsb
Thu Jun 13, 2019 3:42 pm
Forum: C++ Development
Topic: Foreground color ignored using wxGraphicsContext
Replies: 7
Views: 203

Foreground color ignored using wxGraphicsContext

Hello, We're trying to improve our drawing code using wxGraphicsContext. The problem is that when drawing filled objects using stippled patterns, the foreground color is ignored and comes out white. Using a wxClientDC object, the color is correct. Any idea what would cause this? Thanks very much. RS...
by rsb
Tue Mar 26, 2019 9:17 pm
Forum: C++ Development
Topic: Problem with wxPerl GridCellAttr Set to GridCellBoolEditor
Replies: 7
Views: 292

Re: Problem with wxPerl GridCellAttr Set to GridCellBoolEditor

I built the Grid sample application and it works the way you describe. Our wxPerl application is quite large so converting to C++ will take a long time. We would like to convert it but we don't have the time right now. I may just have to convert the check boxes to choice boxes with values of true an...
by rsb
Tue Mar 26, 2019 7:23 pm
Forum: C++ Development
Topic: Problem with wxPerl GridCellAttr Set to GridCellBoolEditor
Replies: 7
Views: 292

Re: Problem with wxPerl GridCellAttr Set to GridCellBoolEditor

Scenario 1: (Selected) Select the cell once -> I see a (bold) rectangle around the cell. I select it again and the checkbox moves slightly to the left. I select it a third time and the check is visible. Many times when I select somewhere else after the third click, the check disappears. Scenario 2: ...
by rsb
Tue Mar 26, 2019 6:36 pm
Forum: C++ Development
Topic: Problem with wxPerl GridCellAttr Set to GridCellBoolEditor
Replies: 7
Views: 292

Re: Problem with wxPerl GridCellAttr Set to GridCellBoolEditor

Thanks Doublemax.

I tried the EnableCellEditControl and EnableEditing methods for the grid but it made no difference.

Also, It doesn't matter where I click or how fast, I get the same result.

RSB
by rsb
Tue Mar 26, 2019 5:03 pm
Forum: C++ Development
Topic: Problem with wxPerl GridCellAttr Set to GridCellBoolEditor
Replies: 7
Views: 292

Problem with wxPerl GridCellAttr Set to GridCellBoolEditor

Hello, We have a wxPerl application that uses a grid and some of the fields are check boxes. When you click in the checkbox cell, sometimes it selects but most times It doesn't. I noticed another entry in this forum that described the same problem but I didn't see a solution. https://forums.wxwidget...
by rsb
Thu Jan 10, 2019 1:59 am
Forum: C++ Development
Topic: Page Setup dialog Switches to ISO_B3 from A0
Replies: 4
Views: 220

Re: Page Setup dialog Switches to ISO_B3 from A0

What do you mean by unmodified printing sample? The sample I'm using is directly from the wxWidgets archive. I didn't change
anything.