Commit Graph

14958 Commits

Author SHA1 Message Date
Vadim Zeitlin
129db666f1 Windows compilation fixes after recent changes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16785 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-25 19:03:06 +00:00
Robert Roebling
bdaac0eba9 More work on Printing. It prints Kanji now using
outlines and correctly prints wxHTML, but there
    are still problems with GetTextExtent() etc.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16784 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-25 18:41:59 +00:00
Stefan Neis
50eb93aaf7 HWND already typedef'ed on OS/2 with EMX.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16783 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-25 18:29:17 +00:00
Stefan Neis
01c9a906d7 EMX (OS/2) defines _MAX_PATH only
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16782 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-25 18:26:31 +00:00
Stefan Neis
64a1d923e6 HWND already typedef'ed when compiling with EMX (OS/2).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16781 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-25 18:25:21 +00:00
Stefan Neis
6502915206 protected to restrictive for compiling with EMX.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16780 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-25 18:24:18 +00:00
Stefan Neis
28ff8c8f9e Added __WXPM__ specific include, so it also compiles without pre-compiled headers.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16779 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-25 18:22:48 +00:00
Stefan Neis
a2cd9b8641 Update to current API.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16778 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-25 18:20:54 +00:00
Gilles Depeyrot
c016649521 BSD systems define _T to something different in ctype.h, therefore include
ctype.h before overriding _T


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16777 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-25 18:20:46 +00:00
Stefan Neis
063807f6c3 Added an include to timer.h (needed for non-precompiled headers).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16776 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-25 18:20:22 +00:00
Stefan Neis
8d8bd9bf15 Added the usual GNU pragma.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16775 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-25 18:17:54 +00:00
Stefan Neis
de56032161 EMX (OS/2) compilation fix. The implemented logic for not reloading Netscape
doesn't work and besides, Netscape is doing it automatically anyway.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16774 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-25 18:16:19 +00:00
Stefan Neis
e8e776aac3 Like VMS, EMX (OS/2) doesn't support setsid.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16773 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-25 18:07:28 +00:00
Stefan Neis
272ebf16f8 Compilation fixes for EMX. Mostly adding includes and declarations that
are missing when not using pre-compiled headers.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16772 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-25 17:58:44 +00:00
Stefan Neis
2ebb116d15 Dynamically retrieve used codepage.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16771 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-25 17:53:55 +00:00
Stefan Neis
2b0ad4415c Use generic dirdlg, added generic mdi classes.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16770 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-25 17:50:22 +00:00
Vadim Zeitlin
e5cceba0ea no real changes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16769 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-25 17:15:03 +00:00
Vadim Zeitlin
e93e5b0bb6 use wxWcslen() instead of wcslen() which isn't always available in wxWCharBuffer; do accept NULL in wx[W]CharBuffer ctor as the code elsewhere uses this
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16768 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-25 17:14:51 +00:00
Vadim Zeitlin
f6f5941be5 reorganized, improved and hopefully simplified wxchar.h and printf() functions handling; also added wxWcslen() to fix wcslen() problems
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16767 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-25 17:13:44 +00:00
Stefan Neis
71c3227ddc For now, use generic dirdlg for wxOS2.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16766 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-25 17:12:54 +00:00
Vadim Zeitlin
d74f4b5add added tests for fputwc() and wprintf()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16765 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-25 17:12:10 +00:00
Václav Slavík
4dd75a6aaf added wxFrame* wxXmlResource::LoadFrame(parent,name)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16764 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-25 12:14:37 +00:00
Robin Dunn
ba201fa431 Some build/distrib tweaks
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16763 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-25 05:59:23 +00:00
Robin Dunn
ebba910cf1 There needs to be an initialized wxApp to manipulate bitmaps in wxGTK
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16762 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-25 04:21:12 +00:00
Robin Dunn
6ba338ecc3 You can't paste if someone else already has the clipboard open...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16761 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-25 04:20:18 +00:00
Robin Dunn
e4f0b986b9 Comment out a debug printf
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16760 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-25 04:19:45 +00:00
Robin Dunn
7a5d2dc7e2 Load the frame icons from a .py file so I don't have to figure out how
to tell distutils to install the .ico in the right place...


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16759 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-25 03:39:00 +00:00
Robin Dunn
03d9e55cc9 Don't need the "-hybrid" in the name any longer
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16758 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-25 01:53:43 +00:00
Robin Dunn
d440a0e764 Changed slightly the meaning of the Hybrid build. It is now
essentially a release build (no debug info, optimiztions turned on)
with the addition of __WXDEBUG__ being defined.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16757 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-25 01:43:22 +00:00
Stefan Csomor
2072fbbbc9 added new default handlers for open/print events, removing the need for using private headers in the specific application
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16756 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-24 22:04:04 +00:00
Robin Dunn
d8a2af5091 Updated PyCrust code from Patrick
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16755 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-24 21:44:57 +00:00
Robin Dunn
54f07ec450 Changed installer base filename
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16754 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-24 21:44:30 +00:00
Robin Dunn
f19533bfd1 Test code for float editors
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16753 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-24 21:44:02 +00:00
Robin Dunn
505f70dec6 All editors that derive from wxGridCellTextEditor will now select the
existing value when the editor is started, just like a wxTextCtrl now
does in normal use.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16752 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-24 21:40:43 +00:00
Robin Dunn
8a60ff0af8 If the number or float editor is being used but the values are
saved/loaded to the table as strings, then allow empty strings.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16751 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-24 21:39:21 +00:00
Vadim Zeitlin
44893b87ab added wxCHECK_GCC_VERSION() macro
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16750 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-24 21:28:48 +00:00
Gilles Depeyrot
33ac313082 updated CW exported xml projects
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16749 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-24 21:08:41 +00:00
Gilles Depeyrot
c12bbf5db7 updated CW exported xml projects
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16748 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-24 20:57:15 +00:00
Stefan Csomor
3340066af6 getting rid of warnings
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16747 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-24 20:20:04 +00:00
Gilles Depeyrot
b9deec0e79 ignore files produced when building samples
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16746 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-24 20:19:34 +00:00
Robin Dunn
ec53826c06 Fixed wxGridCellFloatEditor::Clone
Changed wxGridCellEditor::GetString to use %f instead of %g to match
the Renderer, otherwise it would truncate/round the value to
m_precision significant digits instead of m_precision digits after the
decimal point.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16745 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-24 20:03:42 +00:00
Gilles Depeyrot
a44bfc97ab updated CW exported xml projects
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16744 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-24 19:53:45 +00:00
Gilles Depeyrot
949a328699 improved conditional compilation since generic grid and new grid are exclusive
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16743 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-24 19:45:04 +00:00
Gilles Depeyrot
3da38569d1 added newest grid source file
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16742 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-24 19:42:12 +00:00
Gilles Depeyrot
7492a1fe06 added missing png source files to CW project
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16741 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-24 19:35:31 +00:00
Stefan Csomor
79654e256b getting rid of warnings
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16740 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-24 18:34:24 +00:00
Stefan Csomor
68a9d9d04f getting rid of warnings
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16739 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-24 18:10:08 +00:00
Stefan Csomor
8140eec95a getting rid of warnings
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16738 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-24 17:20:12 +00:00
Stefan Csomor
49b45dcd85 getting rid of warnings
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16737 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-24 17:06:53 +00:00
Stefan Csomor
7934cbd11d getting rid of warnings
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16736 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-24 16:36:12 +00:00