Commit Graph

40306 Commits

Author SHA1 Message Date
David Elliott
7c5a378ff2 Implement mouse entered, exited, and synthesize move events while the mouse is inside.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46229 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-28 04:22:10 +00:00
David Elliott
ae04c0f156 Include wx/filedlg.h when not WX_PRECOMP.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46228 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-28 02:31:54 +00:00
David Elliott
a24aa4279a Allow many Objective-C classes to be uniquified at runtime.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46227 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-27 04:52:04 +00:00
David Elliott
931d76980e Add implementation of Objective-C class name uniquifying.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46226 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-27 04:28:35 +00:00
Robert Roebling
3b7ab6bda8 Upport latest changes from 2_8 branch (print dialog
values settable and clipping)


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46225 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-26 22:27:58 +00:00
Robert Roebling
ff9bb105a0 Correct GTK version check
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46224 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-26 22:06:47 +00:00
Paul Cornett
1529bc41dc restructure fullscreen code dealing with hiding bars
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46223 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-26 18:47:53 +00:00
Stefan Neis
585892aac6 Another compilation fix.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46222 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-26 16:40:39 +00:00
Vadim Zeitlin
4efffd8750 fix typo: s/radion/radio/
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46219 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-26 15:00:56 +00:00
Stefan Neis
6fad7ae1d5 Added declaration of new method (still to be implemented).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46218 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-26 14:15:25 +00:00
Stefan Neis
eca4774075 Added missing include.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46217 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-26 14:14:16 +00:00
Vadim Zeitlin
f1a0855d24 GetMenuCount() returns size_t, not int
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46216 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-26 10:23:20 +00:00
Robert Roebling
91fd8ba770 Compilo.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46215 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-26 08:09:24 +00:00
Stefan Csomor
fa15eac7ec mac complaining about const to non-const cast
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46214 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-26 05:45:52 +00:00
Václav Slavík
372bed0a2b compilation fix: can't use wxUniCharRef in switch statement
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46213 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-25 20:29:14 +00:00
Robert Roebling
4b57db792c Really don't do anything (including not setting the
tool's state incorrectly) if pressing on a pressed
    radio tool in a toolbar.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46212 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-25 19:19:34 +00:00
Julian Smart
921dd444fe Fix for previous patch
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46210 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-25 16:51:53 +00:00
Julian Smart
99be3b7c7c Made toolbar background rebar-like on Vista. Solid grey is OK on XP but jars
badly in Vista.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46209 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-25 13:54:44 +00:00
Vadim Zeitlin
81ec6f01f2 compilation fix for non-PCH build, include wx/wxchar.h
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46208 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-25 13:20:41 +00:00
Václav Slavík
6954a1e2c9 implemented wxActivateEvent and restoring focus after a TLW that owned it was destroyed
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46207 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-25 12:20:25 +00:00
Paul Cornett
c821db16e6 Remove unneeded wxTLW child inserter function.
Simplify wxFrame child inserter.
Use the same signature for all the child inserters.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46206 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-25 05:08:18 +00:00
Vadim Zeitlin
cc67d082f7 deal correctly with having too few items in wxFlexGridSizer (this is not an error, more items could be added later): don't crash and don't assert
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46205 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-25 01:19:17 +00:00
Vadim Zeitlin
f4f963f4a5 put #if wxUSE_FFILE && wxUSE_STREAMS around functions using wxFFileStream (patch 1721939)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46204 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-25 00:53:12 +00:00
Vadim Zeitlin
d76a558d4d added wxMSW-specific wxEntryStart() overload taking WinMain-like parameters
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46203 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-25 00:52:00 +00:00
Vadim Zeitlin
4dfbedd3f5 fix unreachable code warning in GetUntranslatedString()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46202 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-25 00:46:20 +00:00
Vadim Zeitlin
a0826b119e disable clearing event tables by default, only do it if wxUSE_MEMORY_TRACING is used: this fixes the problems with events not being dispatched correctly when the library is reinitialized
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46201 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-24 23:53:05 +00:00
Vadim Zeitlin
2afb9e1690 1. Derive wxMessageDialogBase from wxDialog (why did we use multiple
inheritance here?), moved more wxMessageDialog fields into the base class
2. Added functions to set the text of message box buttons (patch 1700393,
   currently only implemented for wxMac)
3. Added wxMessageDialog::SetMessage() and SetExtendedMessage() and
   implemented them for wxMac (part of the patch), wxGTK 2.4+ and in
   a generic way for everybody else
4. Allow changing the dialog attributes between creating and showing it,
   for this the real dialog creation is now done on in ShowModal() in all
   ports


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46199 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-24 12:50:42 +00:00
Vadim Zeitlin
f3d32879d6 fix DLL export declaration (adv, not core)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46198 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-24 12:42:25 +00:00
Vadim Zeitlin
aea33a3e85 don't create wxEventLoop in Initialize(), it's too early to do it there -- wait until it's really needed in MainLoop()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46197 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-24 12:28:31 +00:00
Vadim Zeitlin
a9b9495bc0 put #if wxUSE_FFILE && wxUSE_STREAMS around functions using wxFFileStream (patch 1721939)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46196 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-24 10:59:56 +00:00
Vadim Zeitlin
87b66c2838 s/wxStaticIcon/wxStaticBitmap/g (bug 1724527)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46194 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-24 10:56:31 +00:00
Vadim Zeitlin
bfd67dca3a include wx/wxcrtvararg.h needed for wxSscanf() when WXWIN_COMPATIBILITY_2_8 == 0
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46193 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-24 09:57:47 +00:00
Vadim Zeitlin
bc5e942bf3 added wxRect::operator+() and *() (union and intersection); also made other operators friends instead of members (patch 1589175)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46191 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-24 01:47:29 +00:00
Vadim Zeitlin
a3e70e1f3b declare wxFileSelectorDefaultWildcardStr to fix compilation without PCH
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46190 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-24 01:37:22 +00:00
Vadim Zeitlin
84281b92d5 added wxAppTraits::CreateConfig() (patch 1721149)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46189 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-24 00:50:54 +00:00
Vadim Zeitlin
d71a2d7863 use a different indicator when binding parameters and columns (patch 1718474)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46188 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-24 00:27:40 +00:00
Vadim Zeitlin
d0bc78e2bf deprecate unneeded wxDIRCTRL_SHOW_FILTERS style, just always show the filters if they're present (modified patch 1719448)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46187 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-24 00:14:59 +00:00
Vadim Zeitlin
b4ff336e1d fix wxODCB_PAINTING_SELECTED not being always set (patch 1719364)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46185 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-23 23:58:09 +00:00
Vadim Zeitlin
86d870753c don't crash in dtor if the dialog had never been shown (patch 1723848)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46183 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-23 23:38:27 +00:00
Václav Slavík
e0b3b9d044 take wxString, not wxChar* in wxStandardPaths::GetLocalizedResourcesDir
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46182 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-23 19:10:36 +00:00
Robert Roebling
befda04080 [ 1712381 ] CRASH: closing floating panel on GTK
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46168 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-22 07:55:39 +00:00
Robert Roebling
b8a922d0d3 [ 1721029 ] [GTK] memory leak in wxMenu
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46166 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-22 07:48:37 +00:00
Vadim Zeitlin
2ddff00c92 don't define wxEventLoop class differently in GUI and base, this breaks the
ODR and hence results in many problems in practice; instead use wxEventLoopBase
whenever possible and #define wxEventLoop differently in console applications


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46158 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-22 02:30:01 +00:00
Vadim Zeitlin
30c15c1d73 remove unused static function (avoids a warning about it)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46157 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-22 02:02:51 +00:00
Vadim Zeitlin
659863d8a7 use wxCoord with GetTextExtent(), not long (the long overloads are deprecated and not available at all with 2.8 compatibility turned off)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46156 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-22 02:00:35 +00:00
Vadim Zeitlin
35f94ffd66 don't compare wxList::compatibility_iterator with NULL, this operation is undefined and provokes g++ warnings about using NULL in arithmetic expression
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46154 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-22 01:45:37 +00:00
Vadim Zeitlin
767e083562 pass wxStrings directly to wxFAIL_MSG, there is no need to use c_str()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46153 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-22 01:38:40 +00:00
Vadim Zeitlin
2b232d202a added wOnAssert(..., wxCStrData) overload to fix compilation of code using wxASSERT(s.c_str())
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46152 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-22 01:36:24 +00:00
Vadim Zeitlin
b0bf0e50ea remove GetStandardCmdLineOptions() which is not needed for wxGTK1
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46151 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-22 01:34:10 +00:00
Václav Slavík
fbaf7d4513 added another needed wxOnAssert overload
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46146 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-21 18:24:42 +00:00