Commit Graph

518 Commits

Author SHA1 Message Date
Vadim Zeitlin
77df51f4fb disable VC++ warning 4355 in wx/defs.h once and for all instead of doing it in 4 different places
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35866 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-10-09 22:34:08 +00:00
Vadim Zeitlin
f1f5039b45 don't use wxCHECK_GCC_VERSION in the same test as __MINGW32__/__CYGWIN32__ as it could be undefined (DEC cc warning fix)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35839 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-10-08 16:56:01 +00:00
Włodzimierz Skiba
550343399a Source cleaning. wxMotif/OS2 adjustements.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35778 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-10-03 16:39:45 +00:00
Vadim Zeitlin
84006e65e8 removed wxABI_VERSION checks
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35690 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-09-25 20:23:30 +00:00
Vadim Zeitlin
17a1ebd101 first round of Intel compiler warning fixes: down from a few thousands just to slightly more than 100
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35688 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-09-25 19:59:19 +00:00
Vadim Zeitlin
c781c31638 added wx_truncate_cast and use it (sometimes instead of wx_static_cast) to explicitely show int truncation
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35539 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-09-17 21:03:45 +00:00
Vadim Zeitlin
644e896d3f don't take wxID_NONE inside #if wxABI_VERSION check: it's (going to be) used inside the library itself and, anyhow, there is no harm in letting even the user code compiled with lower than current wxABI_VERSION to see it
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35209 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-08-17 12:56:21 +00:00
Vadim Zeitlin
952f2aaa86 added wxSIZE_FORCE flag for SetSize()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35174 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-08-11 13:21:45 +00:00
Vadim Zeitlin
376a8ce2d4 get rid of wxUSE_COMPATIBLE_COORD_TYPES, it is not used nor defined anywhere
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35074 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-08-03 20:06:28 +00:00
Mattia Barbon
996994c714 Allow displaying Japanese character with wxMotif/ANSI under a
Japanese EUC-JP locale:

- add a #define (wxMOTIF_NEW_FONT_HANDLING) defaulting to
  off
- factor the code for getting text extents in a central
  wxGetTextExtent function
- when the new font handling is enabled load a fontset instead of
  a single font. For non-Japanese locales this should load a fontset
  containing a single font.
- on a Japanese locale set the default point size to 15: the Japanese
  fonts I have are much more readable like this.
- do not set the wordwrap property for multiline wxTextCtrl with
  OpenMotif 2.1, otherwise it crashes when text is added


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35035 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-07-31 09:42:16 +00:00
Václav Slavík
e32dc37570 further wxABI_VERSION fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35014 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-07-30 10:32:12 +00:00
Włodzimierz Skiba
c40158e40b Corrections for future OW 1.4. Warning fixes.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34935 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-07-26 09:05:27 +00:00
Włodzimierz Skiba
0872eaf957 wxOS2 with Open Watcom: correct PCH usage, missing headers, warning fixes, source cleaning and other Watcom adjustements.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34902 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-07-21 17:08:28 +00:00
Vadim Zeitlin
dadacffc74 added wxID_NONE
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34850 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-07-14 23:06:02 +00:00
Włodzimierz Skiba
20bc5ad8dd Global platform header (<PalmOS.h>) removed from public wx-headers (but included in wxprec.h) with all consequences in wxPalmOS specific API.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34795 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-07-01 19:36:58 +00:00
Włodzimierz Skiba
7bea7b9148 Helpers in disabling warnings for unused params.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34790 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-06-30 15:31:20 +00:00
Włodzimierz Skiba
532d575bd9 Allow MSW Base be usable in other ports than wxMSW (ie. wxTVision in windows console). Adjustements for limited setup.h (as in wxTV) and minor source cleaning.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34632 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-06-10 17:53:19 +00:00
Julian Smart
3103e8a97e Typo correction patch [ 1208110 ] Lots of typo corrections
Olly Betts


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34436 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-05-31 09:20:43 +00:00
Vadim Zeitlin
06eab9020d fix wxLongLongFmtSpec for mingw32, Borland and Watcom (patch 1184864)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34270 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-05-22 18:19:03 +00:00
Julian Smart
21c358b270 Added more paper sizes and code that falls back to explicit paper size
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34219 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-05-21 11:05:31 +00:00
Stefan Csomor
4403f2562e workaround for simpler CW setup
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33988 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-05-09 16:03:13 +00:00
Julian Smart
99d800190a Added licence/copyright information
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33948 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-05-04 18:57:50 +00:00
Michael Wetherell
83d8eb470b Remove msdos code now in src/msdos, update bakefiles and regenerate.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33876 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-25 10:28:59 +00:00
Vadim Zeitlin
17fce800d5 replaced C++ comments with C ones
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33657 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-16 12:12:16 +00:00
Kevin Hock
dc9abdf656 th4ese -> these in comment
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33480 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-10 18:05:48 +00:00
Vadim Zeitlin
86745a19d0 moved wxSL_XXX styles to wx/slider.h; made wxSL_LEFT/RIGHT == wxSL_TOP/BOTTOM | wxSL_VERTICAL
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33476 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-10 17:06:49 +00:00
Ryan Norton
8c02a70d4f ...and msw only of course
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33465 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-10 06:37:19 +00:00
Ryan Norton
1446dfdbfe cygwin only
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33464 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-10 06:35:53 +00:00
Ryan Norton
9e07d39919 Fixes & Hacks to make sockets compile on CYGWIN with windows enabled
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33463 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-10 06:33:26 +00:00
Julian Smart
0bbd4f0ff4 The wxDEFAULT_CONTROL_BORDER symbol can be used to specify a sunken
border on some platforms, simple border on e.g. WinCE


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33269 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-02 17:23:08 +00:00
Julian Smart
2f059e30a1 Fixed MSWClipBoxRegion
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33216 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-31 15:19:14 +00:00
Vadim Zeitlin
6ca154fcc1 removed C++ comment added by last commit
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32909 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-19 15:44:56 +00:00
Julian Smart
afafd942a1 Added WXK_SPECIAL... keycodes for special hardware buttons
Made (Un)RegisterHotKey WinCE-aware.
Added wxEVT_HIBERNATE event.
Now fakes wxEVT_ACTIVATE_APP to be symmetrical with wxEVT_HIBERNATE.
Added wxTE_CAPITALIZE for CAPEDIT controls.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32893 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-18 14:26:57 +00:00
Julian Smart
9f995cfd1c Not forgetting PalmOS
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32850 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-16 10:20:20 +00:00
Julian Smart
c75d190a0a Added wxWINDOWS_POCKETPC, wxWINDOWS_SMARTPHONE
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32849 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-16 10:18:13 +00:00
Julian Smart
b554cf6371 Added wxNB_FLAT for WinCE property sheet tabs
Titlebar OK button on PocketPC now looks for OK, Cancel, Close buttons.
Dialog size now takes into account SIP or menubar.
Panels more naturally white on PocketPC.
wxDIALOG_EX_CONTEXTHELP ignored on WinCE since it interferes
with correct titlebar style.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32798 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-13 17:31:23 +00:00
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