Václav Slavík
b5dbe15d0b
added WXDLLIMPEXP_FWD_FOO macros in addition to WXDLLIMPEXP_FOO for use with forward declarations (in preparation for GCC visibility support)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47254 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-09 10:09:52 +00:00
Václav Slavík
47b378bd88
removed extra semicolons (patch #1700459 ; fixes compilation with gcc's -pedantic flag)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45450 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-14 09:58:37 +00:00
Vadim Zeitlin
c1dc9f8394
removed WXWIN_COMPATIBILITY_2_4 from common and wxMSW files (patch 1675546)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44625 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-07 11:35:04 +00:00
Stefan Csomor
01294df09b
adding reverse orientation
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43232 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-09 19:48:18 +00:00
Włodzimierz Skiba
ce7208d49d
Minor header cleaning.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42713 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-30 11:56:12 +00:00
Julian Smart
781609f290
Applied patch [ 1583316 ] set media source for printing
...
by d2walter
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42627 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-29 17:29:40 +00:00
Julian Smart
f415cab9ef
Robert Lang's patch [ 1583183 ] Fixes printing/print preview inconsistencies
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42522 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-27 13:07:40 +00:00
Vadim Zeitlin
b7cacb43db
add IsOk() to all classes having Ok() method (patch 1570985)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41751 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-08 21:56:55 +00:00
Vadim Zeitlin
d3c7fc996a
mark all dtors which are virtual because base class dtor is virtual explicitly virtual themselves
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41020 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-05 20:47:48 +00:00
Vadim Zeitlin
aae53500af
removed non-const wxFontData::GetColour()
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36218 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-11-21 21:28:40 +00:00
Mart Raudsepp
8907154c1a
Nuke #pragma implementation/interface's
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35650 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-09-23 12:56:45 +00:00
Stefan Csomor
dc7ccb9c5d
moving wxMac to new printing architecture
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33242 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-01 16:36:36 +00:00
Robert Roebling
aa96f01c02
Add PrivData() field to wxPrintData since MSW's printer
...
sometimes seem to save data in an extra field. The
original author of the patch chose to save it in char*
so I kept that, although void* would probably be correct.
The patch is against 2.4.2 and the code has been reshuffled
since then so that the patch had to be redone entirely.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32443 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-02-28 01:51:59 +00:00
Robert Roebling
dbc37e6880
Removed trailing semicolons.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31640 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-01-29 11:41:40 +00:00
Robin Dunn
24c5243d09
Call CalculatePaperSizeFromId when SetPrintData or the assignment
...
operator is used.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31627 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-01-29 01:06:10 +00:00
Robert Roebling
0ab2de15cb
Moved deletion of wxPrintFacory to module.
...
Added wxWidgets 2.4 backward comp methods
to wxPrintData which make use of the
PostScript native print data if used.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30334 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-07 10:11:48 +00:00
Robert Roebling
b45dfd0a8b
Moved the wxPageSetupDialogData <-> native conversion
...
code for MSW to the appropriate file in src/msw/printdlg.cpp
Removed the now obsolete printer setup dialog code.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30210 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-31 23:43:41 +00:00
Robert Roebling
93c2f401e9
Moved print dialog data conversion code
...
from cmndata to its msw place.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30204 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-31 16:34:02 +00:00
Robert Roebling
53fa663af1
Small change to ease Mac transition to common
...
native data printing code later.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30203 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-31 14:59:11 +00:00
Robert Roebling
6038ec8eaf
Next phase of Print Factory code.
...
Created a mini interface so that the generic
wxPrintDialog can show a "printer" and a
"status" line if the print factory wants
this to be the case.
Moved some code (print mode) back from the
PostScript only print data to the general
print data since it is sort of general.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30101 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-26 19:49:59 +00:00
Kevin Hock
1399de550a
Removed , from end of enumerated list wxPrintBin
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30069 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-22 17:13:35 +00:00
Robert Roebling
8850cbd3c3
First step at moving the print (dialog) native
...
data into native dirs and cleaning up the code.
The native part of wxPrintData is now created
via the wxPrintFactory. I moved the code for
PostScript to /src/generic/prntdlgg. and for
MSW to its the respective dir. I only made
wxMac compile, but it already has a native
print data class, which should be easy to
merge.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29947 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-17 17:25:40 +00:00
Vadim Zeitlin
600902562d
added possibility to specify printer bin (patch 910272)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29184 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-09-17 22:20:10 +00:00
Włodzimierz Skiba
68379eaf0a
Source cleaning: whitespaces, tabs, TRUE/true, FALSE/false, -1/wxID_ANY/wxDefaultCoord, !!/!IsEmpty().
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29077 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-09-10 12:56:07 +00:00
Julian Smart
655719367a
Use old licence name
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27408 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-23 20:53:33 +00:00
Julian Smart
77ffb5937e
Name and version changes
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27404 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-23 14:56:36 +00:00
Vadim Zeitlin
244e5e34c2
allow generating PS on an output stream and not only a FILE (patch 876362)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25724 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-02-10 22:46:12 +00:00
Vadim Zeitlin
0bc9347069
include wx/encinfo.h, not wx/fontenc.h, now
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23726 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-09-19 22:15:55 +00:00
Václav Slavík
1202890513
added support for gcc precompiled headers
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22722 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-09 12:38:21 +00:00
Julian Smart
ae500232a4
Added m_ prefix to wxColourData and wxFontData members for consistency.
...
Fixed some typos in comments.
Fixed wizard constructor doc.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21425 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-26 13:15:12 +00:00
Stefan Csomor
8a5b9f0807
switch to pImpl pattern for mac printing
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20667 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-19 18:22:03 +00:00
Stefan Csomor
e99cc06dc6
ValidateOrCreate added for wxMac
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20645 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-16 20:36:37 +00:00
Vadim Zeitlin
2b5f62a0b2
merged 2.4 branch into the trunk
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18040 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-04 14:11:26 +00:00
Gilles Depeyrot
af49c4b8a2
disable use of #pragma interface under Mac OS X
...
GNU compiler included with Mac OS X 10.2 (Jaguar) as well as August Developer
Tools update contain a bug concerning #pragma interface handling that can only
be worked around by not using them (and they are not necessary anyways)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16884 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-31 11:29:13 +00:00
Robert Roebling
eba330067e
Removed all deprecated printing code.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16568 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-17 16:29:05 +00:00
Václav Slavík
c6eaa6fb67
wxPrinting fix for wxMGL
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16187 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-15 22:55:49 +00:00
Gilles Depeyrot
50947acc3b
corrected wxFontData assignement operator (was recursive!)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15522 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-12 07:48:53 +00:00
Julian Smart
58cf0491e3
Added Ok() member for print data, print dialog, page dialog, page dialog data
...
so we can test in advance whether the print/page setup dialogs will fail.
Removed assertions that would fire if the default printer was not found, for example.
Added call to Ok() from HTML print code with suitable error message.
Commented out my erroneous fix to wxStaticText.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15438 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-08 19:00:43 +00:00
Gilles Depeyrot
5e472c1f9f
corrected warnings when compiled with -Wall -W
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15423 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-08 13:17:53 +00:00
Vadim Zeitlin
b547fe8721
added a const version of wxColourData::GetColour()
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14489 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-07 23:36:44 +00:00
Václav Slavík
cebf2fec3d
take const reference (thanks to Alberto Barbati)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14206 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-14 17:11:38 +00:00
Julian Smart
7266b67235
Now compiling
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14068 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-08 17:44:23 +00:00
Václav Slavík
844e5ad37f
fixed wxPageSetupDialogData::SetPaperId() to take value, not reference
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14060 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-08 00:16:20 +00:00
Gilles Depeyrot
dea106e532
removing dependancy on mac headers from public wx headers
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13411 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-06 15:38:43 +00:00
Stefan Csomor
5273bf2fd3
removing dependancy on mac headers from public wx headers
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13368 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-04 17:13:39 +00:00
Gilles Depeyrot
92ed97b709
added include for Print Manager Session APIs
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10730 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-06-29 20:37:12 +00:00
Gilles Depeyrot
03e11df547
modifications for compilation under Mac OS X
...
applied patches extracted from submission by Marc Newsam (tested under Mac OS 9)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@9372 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-02-15 21:51:14 +00:00
Stefan Csomor
5b781a6729
updated mac sources (CW 5.3 working , CW6 still having code gen problems)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@9334 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-02-08 21:13:12 +00:00
Vadim Zeitlin
7826e2dd83
wxNativeFontInfo changes
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8949 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-12-18 21:15:16 +00:00
Julian Smart
eaeb6a3c37
Added DEVNAMES to wxPrintDialog to remember printer name; fixed wxDC::Clear
...
to not assert for printer DCs
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5650 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-25 13:35:44 +00:00