Commit Graph

16017 Commits

Author SHA1 Message Date
Mattia Barbon
94311eef78 MSVC 5 does not have BIF_EDITBOX.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19092 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-02-03 22:35:42 +00:00
Mattia Barbon
00dd3b1897 Do not #include an header where a forward declaration suffixes. Do not
include wx/wx.h directly.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19091 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-02-03 20:56:40 +00:00
Jouk Jansen
ff7d1dcb82 Committing in .
One #undef for OpenVMS only

 Modified Files:
 	wxWindows/src/gtk/app.cpp
 ----------------------------------------------------------------------


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19089 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-02-03 12:51:34 +00:00
Vadim Zeitlin
7f88f624d6 changed C++ comments in C comments
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19087 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-02-02 22:54:04 +00:00
Vadim Zeitlin
0aa35d1962 fixed First() signatures
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19086 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-02-02 22:21:28 +00:00
Mattia Barbon
1092b2a039 Mark for backporting.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19085 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-02-02 21:01:54 +00:00
Mattia Barbon
d76240bfe1 Fix client data handling: delete client data for all items when a
wxChoice is deleted, delete client data for an item when that item is
deleted.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19084 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-02-02 21:00:06 +00:00
Stefan Neis
ab9f788e31 Some OS/2 specific improvements.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19083 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-02-02 20:31:27 +00:00
Vadim Zeitlin
f083414031 compilation fix for wxUSE_RESOURCE_LOADING_IN_MSW == 0
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19080 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-02-02 18:31:23 +00:00
Mattia Barbon
7e1bcfa80e Implemented wxEventLoop for wxMotif, and used it in wxDialog::ShowModal,
wxWindow::DoPopupMenu and for the application main loop.
  Implemented wxWakeUpIdle.
  Fixed crash when a popup menu entry is used to close/destroy the parent
window of the menu.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19078 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-02-02 15:48:50 +00:00
Vadim Zeitlin
d894c20113 compilation fix for non-PCH
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19076 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-02-02 15:20:35 +00:00
Vadim Zeitlin
766c5e24a5 added Unicode build configurations
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19075 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-02-02 15:19:11 +00:00
Julian Smart
9cb98d8995 Applied patch [ 678788 ] Dialog command event propagation problem
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19074 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-02-02 15:07:57 +00:00
Vadim Zeitlin
01feccc204 the Russian translations were somehow corrupted, fixed
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19073 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-02-02 15:02:17 +00:00
Julian Smart
f2b99f6323 Applied patch [ 675376 ] Improves wxStaticBoxSizer
(uses GetCharHeight() instead of guessing).


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19072 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-02-02 14:58:56 +00:00
Julian Smart
6f7c5199ed Applied patch [ 677730 ] Menus with radio items (wxUniv)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19071 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-02-02 14:50:05 +00:00
Julian Smart
e2ca829e7d Applied patch [ 670782 ] Combobox uses popup window width
(wxUniv)


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19070 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-02-02 14:47:04 +00:00
Julian Smart
61a83c1c50 Applied Patch 664399: wxButton default size should not be adjusted
(wxUniv)


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19069 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-02-02 14:39:55 +00:00
Vadim Zeitlin
f68c6b523c Unicode compilation fixes after wxFFile change
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19068 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-02-02 14:17:41 +00:00
Vadim Zeitlin
c48e9cbb17 unused any more
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19067 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-02-02 14:14:08 +00:00
Vadim Zeitlin
017fcf32be allow choosing language from the command line; small cleanup
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19066 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-02-02 14:09:36 +00:00
Vadim Zeitlin
fb6e5b179a more std iostream + Unicode fixes; copy streams in blocks of 4Kb, not char by char
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19065 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-02-02 13:29:50 +00:00
Vadim Zeitlin
90e2cbf780 use wxChar, not char, for the second argument of Open() and also use wxFopen() in the implementation
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19061 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-02-02 12:46:33 +00:00
Vadim Zeitlin
9c9c3d7a8f indicate whether this is a selection or a deselection in wxCommandEvent generated by a multiselection wxListBox
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19060 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-02-02 03:05:41 +00:00
Vadim Zeitlin
cf41e1a4d5 (blind) fix for compilation in standard iostreams + Unicode mode
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19059 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-02-02 02:40:17 +00:00
Vadim Zeitlin
eff4ffbf4f big wxCursor cleanup
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19058 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-02-02 02:06:34 +00:00
Vadim Zeitlin
62a0bb2788 removed wxCURSOR_SIZING (we now use the std one)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19057 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-02-02 01:50:07 +00:00
Vadim Zeitlin
cf54972ea2 unsuccessful attempts to create resizable dir dlg without new folder button; added BIF_EDITBOX style; minor code cleanup
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19056 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-02-02 00:38:09 +00:00
Vadim Zeitlin
367f7c4570 what do we need a separate (from m_windowStyle) m_dialogStyle here for? removed
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19055 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-02-01 23:30:53 +00:00
Vadim Zeitlin
f09c8393cb show dir selection dialog both with and without new dir button
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19054 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-02-01 22:51:07 +00:00
Chris Elliott
922c7dcb6f borland 5.5 on XP dislikes -WE line and dies; earlier systems ignore error
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19052 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-02-01 21:08:22 +00:00
Vadim Zeitlin
ce9462d21d implemented wxFileSelectorEx() (this fixes docview behaviour when multiple selections are specified in doc template)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19051 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-02-01 21:04:40 +00:00
Vadim Zeitlin
93fac60414 don't print 2 empty commands after building the program under non-Mac
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19050 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-02-01 20:47:19 +00:00
Chris Elliott
11a1face0e fix bcc bug
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19049 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-02-01 19:54:11 +00:00
Gilles Depeyrot
c921fd5994 Only call use uppercase letter if control, alt, or shift is held down,
otherwise lower case accelerators won't work.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19047 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-02-01 13:45:49 +00:00
Vadim Zeitlin
70687b638d silently ignore any X-fields in mime.types
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19043 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-31 23:09:35 +00:00
Vadim Zeitlin
e69a1ea87c compilation fix for HP-UX CC
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19042 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-31 22:56:49 +00:00
Robert Roebling
e3cff1fbb7 Uncommented warning that causes crashes while
reading .mime.types.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19041 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-31 21:56:09 +00:00
Stefan Csomor
7f3c339c0d using SelectWindow for Raise Implementation
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19036 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-31 15:52:24 +00:00
Stefan Csomor
597a3d06bf added AppleEvent Handler, somehow the standard event handler does not take care of all of them..
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19035 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-31 15:50:09 +00:00
Robert Roebling
f77cf4e68a Typo.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19034 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-31 14:55:28 +00:00
Robert Roebling
464f1a1da6 Compile fix.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19033 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-31 14:45:38 +00:00
Robert Roebling
adfb70c30f Removed unnecessary SET_STYLE.. macros.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19032 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-31 10:31:54 +00:00
Robert Roebling
288059b2b9 Corrected GTK2 creation of default font.
Removed ugly SET_STYLE_FONT code.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19031 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-31 10:31:05 +00:00
Robert Roebling
a148cfb644 Printing update for Pango (GTK2 and X11-Unicode).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19030 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-30 23:40:05 +00:00
Václav Slavík
6b5cdfed73 don't indent text body
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19029 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-30 23:10:23 +00:00
Václav Slavík
ce6cea6808 restored #ifndef wxUSE_UNICODE accidentaly removed by my previous commit
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19028 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-30 19:49:42 +00:00
Robin Dunn
68c124a168 1. Added m_count and maintain its value in InsertItem, RemoveItem
etc. and return it from GetItemCount to save so many calls to
   ListView_GetItemCount.

2. If EVT_LIST_DELETE_ALL_ITEMS was not handled then the
   post-processing code to prevent LVN_DELETEITEM messages was not
   getting executed.  Changed it so the post processing always
   happens.

3. It's possible with some versions of comctl32 that garbage values
   can be passed in nmLV->lParam so don't try to get the internal item
   data pointer from it.  This should close bug# 659939

4. Added FreeAllInternalData from DeleteAllItems, (part of patch
   #672065) and also guard against processing LVN_CHANG* messages
   while freeing the internal data.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19021 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-30 01:53:28 +00:00
Robin Dunn
6edf791ccb Revert last change so the right log message gets put on the file. (I
did the last check in just a wee bit too fast...)


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19020 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-30 01:51:04 +00:00
Robin Dunn
cca784632f Fix for export warning when compiling a DLL.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19019 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-30 01:48:11 +00:00