Commit Graph

16795 Commits

Author SHA1 Message Date
Włodzimierz Skiba
ebeb1b6ad1 Build fix.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35200 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-08-16 20:47:34 +00:00
Włodzimierz Skiba
e27d9a9106 Reuse functionality of wxGetStockLabel().
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35198 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-08-16 20:23:04 +00:00
Julian Smart
89c9b933e3 Added context help styles
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35197 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-08-16 15:06:39 +00:00
Vadim Zeitlin
a2ec9439a3 don't use wxApp::GetAppName() in the usage message, we want the real argv[0] here
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35195 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-08-16 10:08:04 +00:00
Vadim Zeitlin
c73b4312f9 compilation fix for wxUSE_STL=1 and mingw
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35193 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-08-15 20:09:46 +00:00
Vadim Zeitlin
f02a4ffa5f replaced annoying wxLogDebug()s with wxLogTrace()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35191 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-08-15 12:11:53 +00:00
Michael Wetherell
217e77c3c0 Let wxGetFileKind(FILE*) return wxFILE_KIND_UNKNOWN for NULL
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35186 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-08-13 21:08:10 +00:00
Michael Wetherell
ecc201480f Set wxSTREAM_WRITE_ERROR for wxFFileInputStream when open fails
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35185 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-08-13 20:53:13 +00:00
Julian Smart
992b3f1da4 Fixed dangling pointers bug; radio button was not removing itself from
the cycle when deleted, so when deleting and then adding a radio button, we
get a crash


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35182 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-08-13 09:48:29 +00:00
Michael Wetherell
4d931bcca0 Translate '&Help' to '&' for italian Windows only
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35180 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-08-12 15:29:57 +00:00
Julian Smart
a6328131cd Adaptations for PDA-sized screens
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35178 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-08-12 14:16:05 +00:00
Julian Smart
b23030d6fa Added support for "help" parameter (context help text).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35177 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-08-12 14:09:24 +00:00
Vadim Zeitlin
6bbe97b71d force update of MDI client window size after the MDI parent frame is iconized and restored, otherwise all kinds of bad things (changes in MDI children positions; possibility to move them above the toolbar and below the status bar; wrong repaining) happen
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35175 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-08-11 13:24:56 +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
Michael Wetherell
31ad2c402c Undo r1.52 since we get another problem.
http://lists.wxwidgets.org/cgi-bin/ezmlm-cgi?5:sss:65211:200508:khmgllhgjjgnfkhpebip#b


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35169 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-08-10 19:41:01 +00:00
Michael Wetherell
8f1158912f wxMBConv test cases, patch 1179989 from Vince Harron
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35160 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-08-08 22:29:05 +00:00
Vadim Zeitlin
d2a8de2f81 add missing braces to quiet gcc warnings about missing braces around initializer
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35158 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-08-08 22:15:30 +00:00
Vadim Zeitlin
1fc0b5afe7 removed #if KEY_wxList_DEPRECATED: as KEY_wxList_DEPRECATED is not defined anywhere, this doesn't do anything but provoke gcc warnings
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35156 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-08-08 21:51:32 +00:00
Vadim Zeitlin
de1b0aeb6c removed mentions of wxUSE_OWNER_DRAWN: unless I miss something, this doesn't make any sense for Mac
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35155 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-08-08 21:49:22 +00:00
Vadim Zeitlin
2f31c6ec81 correct -Wundef warning for __MSL__
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35154 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-08-08 21:46:31 +00:00
Michael Wetherell
460354e939 Rebake after recguard.h added to bakefiles
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35150 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-08-08 12:59:33 +00:00
Mart Raudsepp
88d197753d Expand tabs, identation/whitespace fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35149 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-08-08 09:50:13 +00:00
Mart Raudsepp
86e69fa54a Expand tabs
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35148 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-08-08 09:35:27 +00:00
Mart Raudsepp
21d23b882f [wxGTK2] wxTextCtrl::XYToPosition(): Return -1 if x or y is out of range
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35147 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-08-08 08:53:48 +00:00
Vadim Zeitlin
a8ee80604c don't use wxVERIFY, it generates gcc warnings and is not appropriate as it doesn't replace real error checking anyhow
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35145 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-08-07 21:12:50 +00:00
Vadim Zeitlin
daef468900 deTABified; removed unused variable provoking a gcc warning
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35143 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-08-07 16:06:49 +00:00
Vadim Zeitlin
f3a65c3e49 unused variable warning when !wxMAC_USE_NATIVE_TOOLBAR
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35142 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-08-07 16:05:46 +00:00
Vadim Zeitlin
64f4562328 assign 0, not NULL, to an int
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35141 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-08-07 16:04:04 +00:00
Vadim Zeitlin
26dfc72818 deTABified
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35140 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-08-07 16:02:56 +00:00
Vadim Zeitlin
3a0827804b set m_error correctly (patch 1249848)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35138 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-08-06 21:35:12 +00:00
Vadim Zeitlin
4a712ba3cf fix wxGetMessageName() in Unicode build (patch 1250662)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35137 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-08-06 21:30:24 +00:00
Vadim Zeitlin
b1638abf1e recognize 0/1 as false/true in string->bool conversion (patch 1249632)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35136 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-08-06 21:16:55 +00:00
Michael Wetherell
3dddebb1cd Needs to refresh the affected parts when resized but I think that would involve
breaking binary compatibilty. So for now use wxFULL_REPAINT_ON_RESIZE.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35125 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-08-06 01:46:32 +00:00
Michael Wetherell
1cdab5d13a Refresh a window's non-client area when it is resized.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35124 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-08-06 01:41:18 +00:00
Vadim Zeitlin
c6dcd973a5 set best fitting size for the toolbar in Realize()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35123 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-08-06 01:24:27 +00:00
Vadim Zeitlin
d36d1be926 don't crash in GetTextExtent() under Windows where print data is not a wxPostScriptPrintNativeData; use wxStandardPaths to find the location of AFM files instead
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35122 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-08-06 01:21:59 +00:00
Vadim Zeitlin
305561828c initialize backing store bitmap in Create(), notebook doesn't always get a size event immediately after creation
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35121 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-08-06 01:11:11 +00:00
Vadim Zeitlin
40d4efa81e added explicit wx/dynlib.h include
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35120 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-08-05 23:16:15 +00:00
Vadim Zeitlin
0b62785c42 missing dllexport declaration added
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35119 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-08-05 23:15:17 +00:00
Vadim Zeitlin
f10747d890 corrected logic in wxQTMediaEvtHandler::OnEraseBackground(): only erase it if there is no movie controller and no movie
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35117 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-08-05 22:54:45 +00:00
Vadim Zeitlin
7a64baad69 don't allow negative splitter position
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35115 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-08-05 22:34:24 +00:00
Vadim Zeitlin
aa200e97df use wxDynamicLibrary::GetSymbolAorW() instead of the manual mess
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35114 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-08-05 22:11:23 +00:00
Vadim Zeitlin
7e41b689a7 1. extracted code common to all backends in wxMediaBackendCommonBase
2. don't refresh the parent on movie load/size change unless it does use
   a sizer (i.e. made code follow the existing comment)


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35113 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-08-05 22:01:48 +00:00
Vadim Zeitlin
6ab9bf57a5 fixed horrible hack with passing pointers of wrong type to Connect(), use a real event handler class as appropriate
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35112 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-08-05 21:27:44 +00:00
Vadim Zeitlin
4e61bf2ca1 removed unused OnPaint() handlers
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35111 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-08-05 20:25:26 +00:00
Vadim Zeitlin
86e3091191 don't remember size passed to SetSize() as pending position/size for TLW as deferred move is not used for them
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35110 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-08-05 17:35:38 +00:00
Vadim Zeitlin
4106cebb95 initialize send_event field of GdkEventExpose we generate (bug 1245864) (Robert, please review this if possible)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35108 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-08-05 11:58:13 +00:00
Vadim Zeitlin
11850ff358 corrected test for __WXGTK__ (but should it be there at all?)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35105 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-08-04 21:05:49 +00:00
Vadim Zeitlin
206391cbab corrected HAVE_NMLVFINDITEM tests, eliminated HAVE_NM_FINDITEM as it's more clear to just redefine NMLVFINDITEM in DMC case
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35104 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-08-04 21:05:01 +00:00
Vadim Zeitlin
fe19000379 use ifdef, not if, to test for HAVE_WCSRTOMBS
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35103 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-08-04 21:02:15 +00:00