Commit Graph

482 Commits

Author SHA1 Message Date
Vadim Zeitlin
330be53493 removed wx_dynamic_cast(), it can't be implemented properly without real dynamic_cast<>
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32674 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-08 11:17:01 +00:00
Julian Smart
5bd78bbc2b Added wxFRAME_EX_METAL, wxDIALOG_EX_METAL for Mac metal appearance (saves #ifdefing)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32645 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-07 21:50:11 +00:00
Julian Smart
0f36a8d7bc Removed very very obsolete flags from 1.x
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32643 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-07 20:44:06 +00:00
Vadim Zeitlin
9f8d3f61a9 added wx_dynamic_cast()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32574 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-03 10:53:55 +00:00
Ryan Norton
af79064d31 change superflous elif to else
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32382 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-02-26 10:05:56 +00:00
Włodzimierz Skiba
f1b1ecf020 PalmOS headers have ssize_t with no sign of it so we have to assume they are always there. Missed semicolon.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32339 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-02-24 10:43:27 +00:00
Włodzimierz Skiba
6058220154 Native PalmOS wxLongLong. Introduction of wxULongLong_t due to 'unsigned' not working on internally typedefed wxLongLong_t (both unsigned wxLongLong_t and wxULongLong_t should work for other platforms). Improvements in wxDatePicker control on PalmOS.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32092 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-02-16 09:35:31 +00:00
Włodzimierz Skiba
324eeecb3c Inversed slider and wrapper for datepicker control on PalmOS. WinHandle instead of HWND as WXWidget type. Cleaning from wxMSW specific API. Moving controls support. Non deprecated API in new port. Refreshing of whole and portions of windows.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32032 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-02-14 10:49:02 +00:00
Stefan Csomor
20b6985553 Mac Core Graphics Implementation
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31959 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-02-12 11:34:05 +00:00
Julian Smart
25057abaac Can suppress themed notebook page with wxNB_NOPAGETHEME or
setting system option msw.notebook.themed-background to 0


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31807 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-02-06 19:17:35 +00:00
Włodzimierz Skiba
d79decb5b4 Readable style name.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31693 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-02-01 15:10:59 +00:00
Włodzimierz Skiba
9a727a3bb8 Further cleaning of the wxPalmOS radiobox code. Sending update event from slider. New styles for wxRadioBox and wxRadioButton for using alternative appearance of the control.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31690 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-02-01 09:58:58 +00:00
Włodzimierz Skiba
14778505d8 comment in C code fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31591 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-01-25 11:52:17 +00:00
Kevin Hock
5224bb9485 Add wxSL_INVERSE flag
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31528 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-01-21 05:12:29 +00:00
Włodzimierz Skiba
ecda94753a wxPD_CAN_SKIP for skipping parts of progress and reintroduced wxPD_SMOOTH after removal of modal dialog flag.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31193 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-12-30 15:07:28 +00:00
Włodzimierz Skiba
4055ed8281 Use __WXPALMOS__ for PalmOS port which fits __WX$(TOOLKIT)__ of bakefiles. Do not depend on MSW macros in PalmOS port. Source cleaning.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31087 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-12-20 12:44:22 +00:00
Włodzimierz Skiba
cb9d5bd07e wxBrushBase between wxBrush and wxGDIObject (class follows wxFontBase model).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30849 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-12-03 15:31:31 +00:00
Robert Roebling
41b81aed52 Applied Freeze()/Thaw() patch for wxTextCtrtl.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30834 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-12-01 20:52:36 +00:00
Włodzimierz Skiba
891479a2da Additional wx*_HATCH styles comment.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30820 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-30 18:52:47 +00:00
Włodzimierz Skiba
ab9d0a8ca3 IS_HATCH macro replaced with wxBrush::IsHatch() + source and docs little cleaning.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30819 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-30 18:46:20 +00:00
Robin Dunn
d4808d76f9 The assumption that if SIZEOF_INT is defined then SIZEOF_SIZE_T is too
is not always true.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30509 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-13 02:24:35 +00:00
Włodzimierz Skiba
954ec2763a MinGW fix.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30499 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-12 14:26:31 +00:00
Ryan Norton
7a5cebca9b spelling
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30485 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-12 09:53:47 +00:00
Ron Lee
d51253e844 Patch from MJW for ssize_t
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30479 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-12 03:06:44 +00:00
Ryan Norton
ca269f77a4 remove fixme and explain unicode characters
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30380 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-09 03:22:56 +00:00
Ryan Norton
27cfdc97a4 workback defs for OSX
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30353 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-08 00:28:36 +00:00
Ryan Norton
16c0e7305c fix for [ 1042972 ] Keycodes above WXK_START conflict with unicode characters
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30324 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-06 23:14:16 +00:00
Vadim Zeitlin
871cc651b7 only VC++ >= 7.0 has __COUNTER__
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30033 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-20 10:47:28 +00:00
Vadim Zeitlin
c0fbf9294e define wxMAKE_UNIQUE_NAME so that it works even in VC++ with /ZI (edit and continue) option: use __COU*NTER__ instead of __LINE__
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30024 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-20 00:31:58 +00:00
Vadim Zeitlin
7561181f03 suppress VC++ warning about long -> void * conversion too
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29916 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-16 13:39:45 +00:00
Vadim Zeitlin
dffd27ec31 removed pragma interface which resulted in link errors when inline functions from this file were used; remove wxULongToPtr/wxPtrToULong which could truncate the pointer; added wxUIntToPtr in addition to existing wxPtrToUInt (which now takes const pointer) to replace them
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29895 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-15 20:58:23 +00:00
Włodzimierz Skiba
3690202915 Remove old pragmas for avoiding warnings with Open Watcom. They are not working with new build system and have to be passed to compiler through options.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29806 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-12 16:58:44 +00:00
Ryan Norton
dcb6810279 2.5.3 - cleanups, fixes, etc. etc. -
1. Various stubs for wxCocoa (and the bakefile entries for them)
2. Definitions for some wxCocoa cocoa types in defs.h
3. Hack to attempt to fix SYNC sound for mac carbon
4. Fix for wxCocoa and 10.2 (Dave - I'm already around doing some stuff anyway - I'll go ahead and save you the trouble).
5. 10.2 unicode layer
6. Strings null-char fixes (stems from chartraits patch - essentially the patch minus the chartraits part - HAHA :)) [note to self - swap the 2nd and 3rd params of wxMemchr if you use chartraits and vice versa]
	* If you have time please run the strings and stdstrings cppunit test suite
	* Also add more test suites if you want - more is always better :)
	* This does not include any fixes for mbtowc etc functions as outlined on the ml

7. An attempt to update wxArray docs a little
8. wx/process.h build fix for wxCocoa
9. Unicode fixes in app.mm for wxCocoa
10. Remove newer font panel after Stefan's suggestion


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29693 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-07 08:53:48 +00:00
Vadim Zeitlin
d85cfb3784 added wxVaCopy() and use it to fix wxVsnprintf() crash (see bug 1017651)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29604 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-02 18:32:31 +00:00
Włodzimierz Skiba
d4c25daa1b C++ removed from C syntax.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29527 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-09-29 07:21:18 +00:00
Vadim Zeitlin
1695e2851d added wxPtrToUInt() to cast pointer to an integer type without warnings
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29513 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-09-28 21:48:47 +00:00
Vadim Zeitlin
8c8d66c5f0 added wx_reinterpret_cast() macro
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29510 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-09-28 21:44:10 +00:00
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