Commit Graph

445 Commits

Author SHA1 Message Date
Ryan Norton
3e17bc3f73 wxDrawerWindow - [ 909351 ] Drawer window for OS X Carbon - somewhat heavily modified
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29350 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-09-25 17:22:43 +00:00
Włodzimierz Skiba
bb08a4a194 wxChoicebook follows wxListBook internal changes. Styles centralized for all wxBookCtrls.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29175 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-09-17 17:24:34 +00:00
Vadim Zeitlin
50531bd2bd define wxWCHAR_T_IS_REAL_TYPE macro: 1 for compilers having real wchar_t native type and 0 for broken ones which define it as a typedef
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29093 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-09-11 18:39:04 +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
Václav Slavík
5f7bcb48fd new stock buttons API
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28967 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-08-30 14:42:51 +00:00
Julian Smart
50c538600e First step in background erase optimization
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28951 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-08-29 10:22:34 +00:00
Vadim Zeitlin
2cc1424ded define WXMSG same as Win32 MSG instead of untyped pointer
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28548 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-30 22:51:46 +00:00
Václav Slavík
a3c15d892d more fixes to keypress handling in wxGTK:
1. don't eat unprocessed events originating from child widgets
2. tell IM context about focus changes
3. set wxKeyEvent modifiers information from last GdkEventKey leading to IM's commit signal


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28033 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-26 15:25:39 +00:00
Václav Slavík
da21012040 use GtkIMContext variable, not GtkIMMulticontext, we don't use functions that take the latter as their argument
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28007 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-24 17:54:08 +00:00
Robin Dunn
1f3192288b wxDefaultCoord
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27989 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-24 03:04:57 +00:00
Włodzimierz Skiba
21d09ecdee Make some long #ifs shorter but multiline so diffs of other ports are more readable.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27972 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-23 16:04:36 +00:00
Václav Slavík
f40fdaa339 fixed GTK styles handling:
1. don't modify the style unless something changed
2. use gtk_widget_modify_style instead of gtk_widget_set_style, the latter is not recommended by GTK+ developers


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27784 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-14 17:34:00 +00:00
Robert Roebling
daeb83303c Added compatibility fix for wxADJUST_MINSIZE
Added defines for HANDHELDPC


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27751 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-11 19:12:45 +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
9c9aec6143 removed work around for 16 bit compilers not defining LPTSTR which was breaking Unicode build unless WIN32 was defined
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26852 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-18 12:33:05 +00:00
Vadim Zeitlin
f29fe16932 added and documented wx_const/static_cast<>
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26831 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-16 10:30:07 +00:00
Vadim Zeitlin
8b5ef6cfd2 moved dialog/frame styles to their own headers; don't use any styles by default for TLW under Windows CE
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26742 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-13 12:22:34 +00:00
Robin Dunn
f52e0cf489 Changed name to wxFIXED_MINSIZE since that is more descriptive of what
it does.  The size can still be changed by the sizer, but it won't
query the minsize if this flag is set.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26665 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-07 23:06:35 +00:00
Robin Dunn
caa251e073 Added wxFIXED_SIZE.
Propogated wxSizer::SetItemMinSize to SetSizeHints for window items.
Updated docs for flag parameter to be more readable and understandable.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26644 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-07 19:21:06 +00:00
Vadim Zeitlin
395a82b13f made wxADJUST_MINSIZE default
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26449 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-03-29 10:18:38 +00:00
Vadim Zeitlin
3a5bcc4db0 removed Win16 code (patch 905241), last version with remains of Win16 support tagged with BEFORE_WIN16_REMOVAL
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26423 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-03-28 13:10:14 +00:00
Stefan Csomor
34a336adb6 type safe proxy typedefs
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26401 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-03-27 06:47:41 +00:00
Stefan Neis
463b12b830 Compilation fix for OS/2 specific "Innotek gcc" port.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25993 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-02-28 17:43:23 +00:00
Stefan Neis
ddefbe7ff2 Fixed various types like e.g. WXHWND for OS/2 that have been broken
by the previous update.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25946 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-02-25 21:49:52 +00:00
Julian Smart
c140b7e7c9 Applied patch [ 903619 ] Win64 and Itanium support
by Brian Palmer


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25943 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-02-25 10:45:02 +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
0891fcb11f reverted wxStaticCast change which obviously can't work as there is already a wxStaticCast in wx/object.h...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25723 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-02-10 22:17:30 +00:00
Vadim Zeitlin
0613b80c17 added wxStaticCast, moved wxConstCast from wx/object.h to wx/defs.h for consistency
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25720 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-02-10 22:11:14 +00:00
Vadim Zeitlin
a369f7c88a Win64 compilation fixes: define SIZEOF_SIZE_T, added wxUIntPtr
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25702 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-02-10 12:58:08 +00:00
Julian Smart
22c9005dd4 Fixed bug [ 865999 ] wxRETAINED windows appear blank on MSW.
wxRETAINED defined to 0 on non-Motif platforms to avoid
clash with wxPOPUP_WINDOW


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25636 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-02-08 15:03:28 +00:00
Václav Slavík
1c53456fc9 wxMGL fixes (patch #884758)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25522 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-02-05 23:13:30 +00:00
Robin Dunn
e0dd12db99 Using a -1 (wxID_ANY) for menu or toolbar item IDs will now generate a
new ID for the item using wxNewId().  As a consequence of this, the
value of wxID_SEPARATOR was changed from -1 to -2 in order to not
clash.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25504 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-02-04 23:28:11 +00:00
Gilles Depeyrot
4f5b1fc4ca corrected comments for wxMac compilation
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24905 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-12-18 07:38:00 +00:00
Ryan Norton
fa9982d710 1.
Only checks platform #defines in C++ now

2.
A couple /* within /* warnings were fixed


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24904 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-12-18 03:34:22 +00:00
Ryan Norton
5d61dafdfa Header Cosmetics
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24895 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-12-17 19:41:17 +00:00
Ryan Norton
f2cc8cbbbd Header Cosmetics
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24894 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-12-17 19:40:06 +00:00
Ryan Norton
34cbe514cf 1.
Added Release With Debug Info to regex.dsp

2.
Added Release Unicode With Debug Info to regex.dsp and wxWindows.dsp

3.
Converted DS's C++ comments in regcustom.h and regex.h to C

4.
Converted defs.h and all headers it includes to C from C++ by
changing all C++ comments to C and using #ifdef __cplusplus to keep out C++-specific stuff.

5.
Changed wx_wchar to #define wx_wchar wxChar instead of copying wxchar.h code in regcustom.h.

6.
Changed the macros around a bit in regcustom.h.  Originally duplicated code from wx/defs.h.  Now uses SIZEOF_WCHAR_T to get the approriate data.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24893 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-12-17 19:30:31 +00:00
Dimitri Schoolwerth
8703bc01c2 Added wxUnusedVar for Borland and fixed 2 release mode warnings for Borland (patch #835707); Slight code cleanup.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24508 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-11-10 15:17:46 +00:00
Stefan Csomor
ffd82f1cf8 fix for gcc MacOS
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24277 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-10-23 17:46:04 +00:00
Stefan Csomor
f4ef67ba69 adding support for mach unicode builds
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24245 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-10-22 06:46:48 +00:00
Vadim Zeitlin
26dddf6c34 Open Watcom doesn't like typename, use class (patch 826812)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24236 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-10-20 17:43:08 +00:00
Jouk Jansen
2b5b100ac6 Committing in .
OpenVMS updates

 Modified Files:
 	wxWindows/setup.h_vms wxWindows/include/wx/defs.h
 ----------------------------------------------------------------------


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24207 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-10-17 10:01:21 +00:00
Vadim Zeitlin
0cc66b6c0b moved DLL import/export declarations from wx/defs.h to (new) wx/dlimpexp.h for GSocket; added wxUnusedVar() and wxDUMMY_INITIALIZE() to wx/defs.h
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24195 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-10-16 10:25:56 +00:00
Vadim Zeitlin
18da7cf292 Unicode fixes for Watcom (part of patch 813225)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24009 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-09-30 12:41:46 +00:00
Vadim Zeitlin
e441e1f4e8 made wxNO_FULL_REPAINT_ON_RESIZE default, added wxFULL_REPAINT_ON_RESIZE
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23871 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-09-24 00:26:40 +00:00
Chris Elliott
641a7c45b5 fix digitalmars 64 bug
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23850 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-09-23 09:52:37 +00:00
Chris Elliott
e84c7178fe fix watcom 64 bug (openwatcom1.1) (second try)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23849 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-09-23 09:36:25 +00:00
Chris Elliott
3ca91ffb3d fix watcom 64 bug (openwatcom1.1)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23848 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-09-23 09:33:21 +00:00
Vadim Zeitlin
9769627970 assume sizeof(wchar_t) == 2 by default, not 4
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23823 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-09-22 19:25:32 +00:00