Commit Graph

6760 Commits

Author SHA1 Message Date
Stefan Csomor
2fa2b08e04 first attempt for full screen implementation
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28347 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-21 09:51:52 +00:00
Vadim Zeitlin
45515b6685 don't suppose that all 32bpp DIBs have alpha, this is not true, the extra byte may be just padding
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28345 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-20 23:45:28 +00:00
Vadim Zeitlin
989a242196 AddFile(wxImage&) -> AddFile(const wxImage&)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28342 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-20 21:59:43 +00:00
Robin Dunn
fe5ddd9250 DoPrepareDC needs the dc.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28337 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-20 18:13:12 +00:00
Stefan Csomor
7ea087b721 background handling
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28333 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-20 16:40:49 +00:00
Vadim Zeitlin
5de9f492ec added DoPrepareDC()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28331 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-20 16:30:22 +00:00
Włodzimierz Skiba
422d0ff0be wxDefaultSize.* and wxDefaultPosition.* to wxDefaultCoord.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28324 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-20 10:09:47 +00:00
Stefan Csomor
1674c73a43 avoid unimplemented wx stubs being used
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28318 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-20 09:16:01 +00:00
Włodzimierz Skiba
67a9999283 Fixes for wxUSE_STATUSBAR.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28305 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-19 09:39:38 +00:00
Václav Slavík
73a7e9399f HAVE_XIM is disabled in GTK2 build, don't include useless member variables
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28300 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-18 17:11:02 +00:00
Robin Dunn
dc5960727c Use DeafultAttributes instead of hard coded defaults
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28293 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-17 23:22:26 +00:00
Václav Slavík
648db587c4 added wxXRC_NO_RELOADING
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28274 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-16 22:01:47 +00:00
Václav Slavík
5d3f80bec3 made SelectionToText and ToText public
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28265 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-16 19:35:06 +00:00
Václav Slavík
977b867e72 added wxHtmlWindow::ToText
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28261 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-16 17:19:17 +00:00
Vadim Zeitlin
051aa330fe fixed fatal bug in wxString ctor from wxCharBuffer when wxUSE_STL==1
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28260 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-16 17:17:51 +00:00
Roger Gammans
9b386ecadb * add documentation for wxMemoryBuffer
* add suport for values of type REG_BINARY in the msw registry.

   Such values are converted to wxMemoryBuffer for internal handling


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28258 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-16 13:09:52 +00:00
Václav Slavík
446e5259d7 DLL export fixes (patch 991760)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28248 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-15 20:51:44 +00:00
Václav Slavík
6b91e25247 fixed dllexports: wxClientData is now in wxBase, not wxCore
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28246 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-15 16:24:24 +00:00
Włodzimierz Skiba
9905656a35 More broken compilers with enum/wxString& ambiguity.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28241 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-15 06:16:45 +00:00
Stefan Csomor
5ac2e80ca2 making getter const
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28233 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-14 16:33:17 +00:00
Stefan Csomor
5eee8dcf5d adding correct events
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28231 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-13 18:32:22 +00:00
Václav Slavík
341050e227 oops, reverted clntdata.h change, it _is_ needed
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28216 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-12 21:49:30 +00:00
Václav Slavík
27dadec122 clntdata.h is needed only if wxUSE_GUI
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28215 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-12 21:41:12 +00:00
Stefan Csomor
5ca0d8122a further separating implementation
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28199 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-11 16:19:18 +00:00
Vadim Zeitlin
f2de9fee23 added wxNavigationKeyEvent::IsBackward to be able to call wxWindow::Navigate(IsBackward) and not only Navigate(IsForward)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28195 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-09 10:42:14 +00:00
Dimitri Schoolwerth
04e539f5d1 use slashes in #include, not backslashes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28170 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-05 13:53:48 +00:00
Vadim Zeitlin
87b6002d7c typo/spelling fixes (patch 983448)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28164 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-04 11:19:47 +00:00
Václav Slavík
7545e13206 a better way of applying style changes to label_widget
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28159 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-03 16:58:10 +00:00
Robert Roebling
e37168448f Not sure how important that is, but now you
can set the font of a static box.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28158 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-03 16:28:22 +00:00
Stefan Csomor
0fc3bc3b26 going on with wxMacControl functionality
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28157 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-03 15:51:18 +00:00
Robin Dunn
37144cf0f1 Invalidate notebook best size when pages are added or removed
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28154 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-03 15:49:29 +00:00
Václav Slavík
a589495eeb implemented tab order in wxGTK2
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28151 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-03 11:16:03 +00:00
Václav Slavík
e74c05294a m_queuedFullRedraw is not used anymore
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28148 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-03 10:02:05 +00:00
Václav Slavík
fdf7514a00 fixed memory leak in wxNativeFontInfo when using Pango
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28146 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-02 20:54:12 +00:00
Stefan Csomor
2837271a5b moving implementation out of class declaration
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28141 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-02 12:03:17 +00:00
Vadim Zeitlin
4e0f1c33cc fix wxTolower/upper() behaviour with signed chars > 0x7f with VC++ 6
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28139 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-01 22:52:39 +00:00
Vadim Zeitlin
08873d362b added wxMilli/MicroSleep(), deprecated wxUsleep()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28135 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-01 12:15:00 +00:00
Vadim Zeitlin
a24de76b33 added and documented wxWindow::MoveBefore/AfterInTabOrder()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28132 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-01 11:44:37 +00:00
Vadim Zeitlin
eeb9e3d08f removed spurious semicolon
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28131 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-01 11:43:01 +00:00
Vadim Zeitlin
a2bd152089 added and documented wxKey/MouseEvent::CmdDown()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28118 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-01 00:04:48 +00:00
Robin Dunn
ab473127c6 Layout fixes due to measuring with the wrong font. Also added
GetDefaultAttributes and switched everything to use GetXXX instead of
m_XXX.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28111 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-30 21:49:17 +00:00
Václav Slavík
fa47d7a7ad SetDefaultXXX -> SetOwnXXX
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28107 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-30 17:12:03 +00:00
Vadim Zeitlin
2ff56383e6 added WindowHDC similar to Screen/MemoryHDC
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28103 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-30 15:44:11 +00:00
Vadim Zeitlin
9817a08533 fix VC++ warning about redeclaring wxHtmlHelpMergedIndexItem class as struct in .cpp
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28102 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-30 15:35:14 +00:00
Václav Slavík
f8ff87ed6d decoupled attributes inheritance and m_hasXXX flags
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28100 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-30 13:05:20 +00:00
Václav Slavík
caea1cb795 made GetEntitiesParser public, it's useful for some tag handlers
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28098 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-30 10:22:23 +00:00
Václav Slavík
0830027775 implemented nested index entries and index entries pointing to multiple documents in wxHtmlHelpController; modified wxHtmlHelpData API to make it possible
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28083 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-29 07:16:51 +00:00
Robin Dunn
99cea4b370 wxTreeListCtrl still uses the wxTR_TWIST_BUTTONS style
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28069 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-29 00:57:55 +00:00
Václav Slavík
91fa114d88 implemented nested index entries and index entries pointing to multiple documents in wxHtmlHelpController; modified wxHtmlHelpData API to make it possible
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28065 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-28 21:45:30 +00:00
Václav Slavík
5f7358f0fb wxHTML_REALLOC_STEP not used anymore
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28064 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-28 21:43:23 +00:00
Václav Slavík
009c43927b wxObjArray::empty() was missing
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28063 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-28 21:42:40 +00:00
Mattia Barbon
bc6e28d55a Compilation fixes.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28057 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-28 19:22:48 +00:00
Václav Slavík
67c276bdb6 more fixes to HTML entities parsing when loading .hhk and .hhc
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28044 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-27 19:40:20 +00:00
Václav Slavík
66bd83b4ec fixed setting colour of wxStaticText in case the label contains XML special characters
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28041 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-27 13:42:17 +00:00
Václav Slavík
3912b3f8f7 fixes to charset conversion when loading non-Latin1 helpbooks; use wxString instead of wxChar* in data structures
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28039 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-27 13:09:18 +00:00
Václav Slavík
4dcccda66b implemented 3state checkboxes in wxGTK with GTK2
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28035 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-26 15:53:22 +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
Vadim Zeitlin
a3db525414 added and documented wxKeyEvent::GetUnicodeKey(); made it work for MSW; added test for it to the text sample
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28031 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-26 13:34:15 +00:00
Dimitri Schoolwerth
fdd74b41b0 fixed include dependency
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28026 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-25 15:09:06 +00:00
Robin Dunn
ba763a45d8 Optimized sizers to not call CalcMin more often than neccessary
Window items added with wxFIXED_MINSIZE flag will set the window's
minsize to its curent size.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28011 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-24 20:13:27 +00:00
Robin Dunn
9f88452895 * Implemented BestSize cache
* Added calls to InvalidateBestSize where things affecting BestSize
  are modified.  There are probably several other places where this
  still needs to be done...

* Added wxWindowBase::GetBestFittingSize that will merge the BestSize
  into the MinSize, (if any) and return the result.

* SetBestFittingSize will now only set the MinSize to the value that
  was passed to it, without merging in the BestSize


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28010 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-24 20:09:45 +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
David Elliott
feb8276801 * Do not use class posing to handle target/action.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28005 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-24 15:14:33 +00:00
Václav Slavík
7a5e53abb3 fixed warnings after GetFont prototype change
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28004 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-24 14:25:47 +00:00
Václav Slavík
adbf2d732f deprecated wxBookCtrlSizer and wxNotebookSizer, they are no longer needed
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28002 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-24 11:58:06 +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
Václav Slavík
d721baa9e6 allow msgids in !=English languages (based on Stefan Kowski's patch)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27980 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-23 20:30:32 +00:00
Václav Slavík
0ac21dde62 no need to update default colours and refresh if syscolours change, wxWindow does it
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27973 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-23 16:41:40 +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
David Elliott
5369a0543e wxCocoa: Added wxScrollBar
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27967 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-23 15:26:44 +00:00
Włodzimierz Skiba
d22004c4f4 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@27966 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-23 15:01:33 +00:00
Dimitri Schoolwerth
7738c2e59a fixed unresolved symbol main (occurred with wxMac)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27965 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-23 14:49:42 +00:00
Włodzimierz Skiba
4b0881393c Private macro moved in waiting for DektopPolicy implementation.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27963 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-23 11:55:33 +00:00
Václav Slavík
29094af062 removed non-const wxWindow::GetFont and GetCursor
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27960 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-23 11:34:24 +00:00
Włodzimierz Skiba
119727ad9e Shortcuts for avoiding #ifdef __SMARTPHONE__ conditions.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27958 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-23 10:44:16 +00:00
Václav Slavík
477160b73f include bitmap.h not needed anymore
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27956 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-23 09:06:04 +00:00
Vadim Zeitlin
64764f5077 fix for a warning in DLL build (patch 966823)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27953 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-22 23:33:44 +00:00
Vadim Zeitlin
12b58624e9 fixed assertion failure if Ok or Cancel button is clicked in a modeless dialog (bug 973873)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27950 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-22 23:20:27 +00:00
Vadim Zeitlin
91a7f3b04d remove unnecessary (and provoking a warning under IRIX) const qualifier on the return value of a function returning bool
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27946 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-22 21:40:17 +00:00
Włodzimierz Skiba
daf3246330 wxParseWildcard renamed to wxParseCommonDialogsFilter. Its usage is extended from generic dialogs to MSW, Motif and other incoming ports.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27941 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-22 16:58:27 +00:00
Vadim Zeitlin
956495caff moved wxEntry(HINSTANCE, ...) declaration to wx/msw/app.h from wx/app.h
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27939 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-22 11:07:23 +00:00
Vadim Zeitlin
dcc19b5b38 fixed wxEntry() signature
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27938 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-22 09:58:37 +00:00
Włodzimierz Skiba
af2799b7bb Maximized dialogs for SmartPhone.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27937 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-22 08:29:42 +00:00
David Elliott
6fbcc6cac3 Observe NSControlTintDidChangeNotification in the application delegate.
TODO: Actually implement this to do something.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27932 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-22 04:16:22 +00:00
Robin Dunn
c0e6c05138 reverted m_adjustMinSize change prepatory for a new approach to fix
the problem


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27930 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-21 22:58:13 +00:00
Vadim Zeitlin
e4edebc096 removed Direction_Max from Direction enum for consistency with the MSW version
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27926 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-21 12:36:34 +00:00
Włodzimierz Skiba
ee0f553126 Array of strings is needed regardless of wxUSE_CMDLINE_PARSER.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27923 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-21 10:35:38 +00:00
Václav Slavík
9d701f0ebf reverted previous revision, old clipboard API is still used by wxMSW itself
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27921 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-21 10:13:18 +00:00
Václav Slavík
831dd3a1e8 don't export deprecated interface to clipboard from DLL
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27920 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-21 08:58:52 +00:00
Václav Slavík
2af18715e5 wxClipboard changes compilation fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27919 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-21 08:54:35 +00:00
Václav Slavík
eaee975aca identify more compilers
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27917 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-21 07:39:58 +00:00
Václav Slavík
5dc43d1fc5 create wxTheClipboard on first use, not startup -- this fixes crash in console-only apps that were linked against wxGTK's 'core' shared library
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27914 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-20 17:19:26 +00:00
Václav Slavík
fbe47c7b5c check for wputc wputchar putws fputws availability
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27913 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-20 17:18:50 +00:00
Mattia Barbon
9cde322b93 Fix for declaring arrays for non-numeric/non-pointer types.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27909 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-20 10:22:23 +00:00
Mattia Barbon
b76069e27f Compilation fixes.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27908 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-20 09:14:18 +00:00
Václav Slavík
1ca21594f7 don't explicitly set font and bg colour
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27906 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-19 22:39:05 +00:00
Václav Slavík
7074ce3577 moved DoApplyWidgetStyle to wxWindowGTK
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27899 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-19 17:49:26 +00:00
Mattia Barbon
7686554b25 Remove no longer used header.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27895 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-19 14:53:50 +00:00
Robin Dunn
fe161a2685 Controls will readjust their size and minsize when SetLabel or SetFont
are called.  Fixed up wxStaticText to blend the wxST_NO_AUTOSIZE with
this new functionality.  Made SetBestSize public under the
SetBestFittingSize name.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27890 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-19 01:35:10 +00:00
Václav Slavík
5edef14ec8 reset fg/bg colour and font to default if set to wxNullColour/Font
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27878 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-18 08:02:01 +00:00
Włodzimierz Skiba
13de0c8c9b Separation of wxUSE_FILEDLG and wxUSE_DIRDLG in generic implementations.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27861 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-17 19:50:20 +00:00
Włodzimierz Skiba
ca65c0440a Code cleaning: wxID_ANY, wxDefaultSize, wxDefaultPosition, true, false, wxEmptyString, tabs and white spaces.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27853 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-17 16:22:36 +00:00
Václav Slavík
62a9d04c7d WXDLLEXPORT correction
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27842 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-16 21:02:29 +00:00
Włodzimierz Skiba
fb8a56b77c Smartphone menus.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27832 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-16 06:37:55 +00:00
Włodzimierz Skiba
f428e6c50f Warning fixes for WinCE.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27830 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-16 06:24:42 +00:00
Włodzimierz Skiba
e0b97560ed Smartphone specific resource files.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27829 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-16 06:17:27 +00:00
Robin Dunn
49f1dc5e8a Add SetMinSize and SetMaxSize to go along with the Get's already there.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27818 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-16 02:15:27 +00:00
Julian Smart
54a69edf6c Enum becomes public
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27816 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-15 22:24:49 +00:00
Julian Smart
eedc82f4e9 Navigate corrections
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27815 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-15 21:55:18 +00:00
Włodzimierz Skiba
9e152a5578 wxParseWildcard added instead of methods hidden under wxUSE_FILEDLG and wxUSE_DIRDLG.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27811 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-15 15:25:33 +00:00
Julian Smart
5f6cfda79f With wxTE_PROCESS_TAB, tabs are now inserted in the text control
by default. The new Navigate function can be used to do navigation
programmatically.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27807 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-15 14:03:06 +00:00
Chris Elliott
1ab608ee00 fix for Borland Dll build (SF bug #972989)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27806 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-15 11:57:21 +00:00
Robin Dunn
6d50c6a702 Add DoGetBestSize to wxCheckListBox that adds room for the checkbox
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27800 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-15 03:23:05 +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
Václav Slavík
1543645813 respect GTK+'s theme tooltip colour settings
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27782 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-14 13:27:26 +00:00
Julian Smart
24d705907d Added event table macros to wxGrid that take window identifiers
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27777 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-13 23:17:00 +00:00
Vadim Zeitlin
8b1c2cf0c2 corrected DBErrorList DLL export declaration
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27776 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-13 21:52:14 +00:00
Julian Smart
bfe1328804 Fix for DLL compilation bug (Fritz Elfert)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27768 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-13 15:39:26 +00:00
Dimitri Schoolwerth
dabbc6a5a1 removed SetAutoLayout(true) calls when a corresponding SetSizer() was also called (the latter already calls SetAutoLayout(true) in case of a non-NULL window); usual cleanup: removing tabs and end of line whitespace, TRUE->true, FALSE->false, -1->wxID_ANY, Enable(false)->Disable(), ""->wxEmptyString
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27764 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-12 23:44:08 +00:00
Robert Roebling
b3900fb51a Added master define for CommandBar vs. PocketPC mixed bar.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27762 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-12 22:58:28 +00:00
Robert Roebling
dcaf7c6e3b Compile fix for HANDHELDPC
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27753 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-11 19:14:20 +00:00
Robert Roebling
68c30476e7 Compile fix.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27752 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-11 19:13:49 +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
Włodzimierz Skiba
f80ea77b4a wxID_ANY, wxDefaultSize, wxDefaultPosition, wxNOT_FOUND, true, false, tabs replacements.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27745 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-11 13:14:23 +00:00
Václav Slavík
0ee43a72dd removed outdated comment
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27731 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-10 19:00:56 +00:00
Dimitri Schoolwerth
75736a9c81 clarified the parameters of MB2WC and WC2MB a little in the docs/headers
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27725 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-10 12:01:59 +00:00
Vadim Zeitlin
329eeca9c4 fixed assert in SetItemText() for wxTR_MULTIPLE controls
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27724 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-10 11:29:49 +00:00
Vadim Zeitlin
329ac7daeb explicit this-> is required by C++ standard, not g++, in WinStruct template
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27720 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-09 22:01:54 +00:00
Václav Slavík
45b8a2566d removed unneeded prototype
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27707 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-09 15:38:09 +00:00
Stefan Csomor
02f463e9cc direct ie non mutex crit-section implementation
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27690 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-08 14:48:10 +00:00
Václav Slavík
979d7319df blind fix for compilation error in EVT macros
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27672 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-07 12:09:24 +00:00
Václav Slavík
e5e2612ab7 fixed incorrect assert (patch #943970)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27662 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-06 14:59:00 +00:00
Václav Slavík
01ac0f138b don't define _puttchar ourselves when using newest mingw runtime
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27657 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-05 21:39:35 +00:00
Mattia Barbon
f8ab089a49 Added code for 3 state checkbox.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27656 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-05 21:01:06 +00:00
Václav Slavík
6466d41e94 corrected EVT_TASKBAR_XXX macros to use wxTaskBarIconEvent
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27647 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-05 14:19:35 +00:00
Václav Slavík
dae73d7473 added wxTaskBarIcon::CreatePopupMenu API
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27639 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-04 21:56:29 +00:00
Kevin Ollivier
5b8f917c30 Making wxUSE_WEBKIT for optionally building wxWebKitCtrl.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27629 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-04 16:07:28 +00:00
Václav Slavík
274ad000d2 added native wxColourDialog for GTK2
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27627 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-04 16:02:14 +00:00
Václav Slavík
7e1492a132 cleared junk
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27615 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-04 10:13:36 +00:00
Stefan Csomor
6d4c54a768 introduction of m_peer
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27609 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-04 07:21:50 +00:00
Václav Slavík
85f6b408df split wxRegion(wxBitmap) ctor into two ctors with clearer semantics
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27606 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-03 21:13:52 +00:00
Julian Smart
041295149d If several doc templates use the same document and view classes, they should
share their filters in Save As


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27602 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-03 19:04:16 +00:00
Julian Smart
217b71400f Separated creation and initialisation of a document via its doc template.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27600 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-03 14:19:39 +00:00
Václav Slavík
971562cb51 use current mouse position as default position in wxWindow::PopupMenu (works better in wxGTK and is what you need in majority of cases)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27599 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-03 14:05:30 +00:00
Robin Dunn
f325fa52de Default arg for Id
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27593 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-02 20:57:27 +00:00
Robin Dunn
be698f5030 remove EVT_STC_POSCHANGED as it's been deprecated in Scintilla for
several releases now.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27562 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-01 21:26:42 +00:00
Kevin Ollivier
14f21d6d89 Fixes for wxWebKitCtrl to work with wxNotebook.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27547 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-01 02:53:49 +00:00
Václav Slavík
33d4eef0b9 implemented freedesktop.org spec support for GTK version of wxTaskBarIcon
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27544 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-31 22:17:09 +00:00
Václav Slavík
ac3c86ee7d don't call CopyBeforeWrite when returning non-const interator if the string is empty -- avoids assert and is not needed anyway since the iterator is never valid
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27539 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-31 22:05:59 +00:00
Václav Slavík
a7d174bf49 compilation fix for gcc-3.4
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27537 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-31 21:50:16 +00:00
Stefan Csomor
64be92e214 continued spinning committed
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27535 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-31 15:54:59 +00:00
Julian Smart
f303db8d9d Include filefn.h always (or problems on at least Mac)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27517 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-30 16:34:49 +00:00
Dimitri Schoolwerth
adb799d6ef allow compilation with wxUSE_CHOICEDLG set to 0
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27514 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-30 15:59:19 +00:00
Dimitri Schoolwerth
0b4f47a319 partially applied patch #895170: "Building with minimal setup.h - continuation"
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27513 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-30 15:14:41 +00:00
Václav Slavík
ac258944bc use shaped window for taskbar icon, so that background shows correctly behind icons with mask
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27505 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-29 17:01:57 +00:00
Stefan Csomor
86d8b74439 control data support
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27500 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-29 14:51:29 +00:00
Stefan Csomor
997e843d51 preparing for internal changes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27499 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-29 14:45:33 +00:00
Robin Dunn
6c7afb7435 GetClientAreaOrigin should be public
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27487 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-28 19:15:09 +00:00
Stefan Csomor
8d4c48688a debug method added for flashing invalid areas
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27463 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-27 14:50:38 +00:00
Stefan Csomor
41b531690d menu associations
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27462 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-27 14:49:03 +00:00
Julian Smart
a9928e9d1a WinCE Standard SDK improvements including adding close button
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27460 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-27 11:31:12 +00:00
Julian Smart
45f272841c Fixes for Standard WinCE SDK
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27458 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-27 09:09:19 +00:00
Václav Slavík
9630336291 workaround for BCC bug - use #defines instead of enums
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27455 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-26 11:49:23 +00:00
Julian Smart
e7d9c39867 Reverted config/resource name change
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27454 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-26 10:49:43 +00:00
Julian Smart
6033bbc1ff Must have valid colours for X11 popup window implementation
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27446 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-25 20:41:54 +00:00
Julian Smart
0a53b9b8fe Missed reversions
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27433 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-25 17:31:17 +00:00
Julian Smart
be5a51fb59 More name changes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27429 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-25 11:20:37 +00:00
Kevin Ollivier
005198fa7d wxWebKit now properly updates after a resize event.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27423 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-25 05:54:28 +00:00
Robin Dunn
3ca7ba7403 Use correct #if for interface/implementation pragma.
detabified


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27416 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-24 21:50:00 +00:00
Kevin Ollivier
7eb8c6ee3e Fixes for Unicode build.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27415 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-24 21:00:07 +00:00
Julian Smart
655719367a Use old licence name
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27408 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-23 20:53:33 +00:00
Mattia Barbon
4b1e72e266 Fix memory leak by letting the base class version handle the
destruction.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27407 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-23 17:15:36 +00:00
Julian Smart
77ffb5937e Name and version changes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27404 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-23 14:56:36 +00:00
Mattia Barbon
5a2e3d8c47 Do not realize the top level shell that acts as a parent
for top level windows. Add a realized child for the shell
for functions requiring it (clipboard at the moment).
  Use XtPopup to show top level widgets, as per Motif
guidelines.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27397 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-22 18:01:33 +00:00
Robin Dunn
97698dc4fe Implemented wxGetKeyState for wxGTK (and wxX11 too, but I havn't
tested it there.)


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27374 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-20 23:37:20 +00:00
Włodzimierz Skiba
d53c798cf9 TRUE->true, FALSE->false replacements.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27353 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-19 09:39:44 +00:00
Kevin Ollivier
2c990ba6d4 Initial import of wxWebKitCtrl sources and htmlctrl (right now wxWebKit) sample.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27349 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-19 02:20:53 +00:00
Włodzimierz Skiba
21416306cb Patch #953165, Bug #821657: wxHIDE_READONLY no more important.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27337 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-18 13:04:41 +00:00
Włodzimierz Skiba
b6e4e44a15 wxSafeShowMessage needs wxString regardles wxUSE_LOG.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27333 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-18 12:15:58 +00:00
Robin Dunn
571d14b262 wxMac should use /src/mac/carbon/spinctrl.cpp, applied some sizing
layout fixes to that file, removed wxMac specific parts from the
generic wxSpinCtrl.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27319 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-17 19:14:38 +00:00
Stefan Csomor
9a159a1da1 adapting for dual implementation native and composited
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27307 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-16 06:54:25 +00:00
Robin Dunn
e459a7940d Tweaks to the generic scpinctrl to handle layouts on wxMac better and
fixed alignment of the spinbutton.  Also, since the generic spinctrl
is used then the generic header should be included.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27301 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-15 19:21:55 +00:00
Vadim Zeitlin
89b674772c subdindented paragraphs support (patch 933436)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27300 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-15 18:17:14 +00:00
Mattia Barbon
54d73f3d78 wxUniversal compilation fix.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27297 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-15 16:56:16 +00:00
Stefan Csomor
2575829710 unicode conversion support for dataobjects
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27290 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-15 14:58:09 +00:00
Stefan Csomor
ed8a085221 support for insets of native controls, sigh...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27289 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-15 14:57:00 +00:00
Robin Dunn
70ff36630f Call PositionStatusBar from SetStatusBar
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27286 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-14 21:41:53 +00:00
Robin Dunn
b67e8d38b6 Patch #952053, wxToggleButton gains WS_VISIBLE flag
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27276 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-14 18:09:19 +00:00
Stefan Csomor
efc97734ae wxMacWakeUp moved
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27275 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-14 17:12:43 +00:00
Stefan Csomor
6c85f77674 wxMacWakeUp moved
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27274 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-14 15:29:59 +00:00
Robin Dunn
a800dc50d4 Fixes so joystick not only compiles on Linux, but it actually works too!
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27265 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-14 02:52:05 +00:00
Stefan Csomor
bf4ce9bd0e unicode support for mach-O targets in Metrowerks
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27262 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-13 18:23:38 +00:00
Stefan Csomor
366e420233 non-osx methods bracketed
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27261 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-13 18:22:53 +00:00
George Tasker
0907ea9c58 [SF#789459] Add support for connection strings. The patch originally submitted was not comprehensive enough to use for the connection caching, so a significant number of additional changes were added to support opening a connection with a connection string
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27241 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-12 19:41:03 +00:00
George Tasker
f3df29e3f6 SQL_C_BLOB was getting #define'd incorrectly if there was not already a definition
The wxDb::Open() function that takes a wxDbConnectInf() now has a second optional parameter 'failOnDataTypeUnsupported' that defaults to TRUE to maintain current behavior.  This allows users to specify FALSE if they want to try to continue
Reformatting of some text, and removal of old commented out code


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27227 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-12 14:07:37 +00:00
Dimitri Schoolwerth
9945c703c7 removed tabs; minor cosmetic cleanup
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27211 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-11 20:41:43 +00:00
Stefan Csomor
6076b569f0 not needed
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27208 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-11 19:25:40 +00:00
Stefan Csomor
19de24fe0c remove unneeded vars
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27207 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-11 19:24:07 +00:00
Julian Smart
496e80e521 Added wxUSE_MDI
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27206 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-11 18:08:27 +00:00
Stefan Csomor
c5d5c231b8 added wxUSE_MDI
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27204 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-11 16:51:02 +00:00
Julian Smart
f0003d294a wxDocMDIParentFrame needs a default constructor
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27203 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-11 14:35:51 +00:00
Robin Dunn
313feadc84 Add GetOwner accessor and fix wxRTTI inheritance for wxTimer. Set the
timer as the event object in wxTimerEvents.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27196 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-10 20:53:25 +00:00
Robin Dunn
0fab3a5a1a Avoid duplicated definition errors for wxLongToLongHashMap when both
grid.h and fs_zip.h are included.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27195 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-10 20:50:28 +00:00
Vadim Zeitlin
7fa4dc1cfc (blind) fix for gcc 3.4 warning for an always true comparison in an assert
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27191 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-09 18:35:36 +00:00
Stefan Neis
23bf401875 Remove duplicated typedef depending on header file version.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27190 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-09 17:54:00 +00:00
Stefan Neis
0e70f525fa Added missing "const" for operator== and operator!=.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27189 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-09 17:30:57 +00:00
Stefan Neis
ba2de0a144 Added missing const for comparision operators.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27187 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-09 15:03:10 +00:00
Mattia Barbon
bdcade0a10 When wxUSE_STL == 1 and STL provides quasi-standard hash_map/hash_set,
wxHashMap/wxHashSet are just typedefs for them. This makes impossible
to forward declare these classes.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27182 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-08 20:20:24 +00:00
Mattia Barbon
11e720751c wxX11 compilation fixes.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27181 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-08 19:56:40 +00:00
Mattia Barbon
40ad34262a wxUniversal compilation fix. The fix is ok because this ash
is a wxMSW data structure, and can only contain wxMSW windows.
Compilation tested with and without wxUniversal and with and without
WXWIN_COMPATIBILITY_2_4.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27176 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-08 10:19:14 +00:00
Vadim Zeitlin
824a614c4e removed HandleSysCommand() and don't generate duplicate events for frame maximization/iconization
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27174 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-08 10:05:33 +00:00
Mattia Barbon
40964ef0f9 Add missing WXDLLEXPORT.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27172 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-08 09:45:26 +00:00
Mattia Barbon
7ee2fd4f1a Remove duplicate definition.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27171 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-08 09:43:24 +00:00
Mattia Barbon
62cdd7d3f8 CHM help is not compiled for wxUniversal.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27169 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-08 09:38:14 +00:00
Mattia Barbon
6aa33060cd Fix for pure virtual method call caused by wxHashTable not
overriding virtual destructor.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27168 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-08 09:33:29 +00:00
Vadim Zeitlin
efd17a1d4f split wxUSE_MDI from wxUSE_MDI_ARCHITECTURE (which is wxUSE_MDI + wxUSE_DOCVIEW)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27152 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-07 22:17:29 +00:00
Dimitri Schoolwerth
4b17d2e361 applied patch #931719: "ESC closes dialog instead of combobox dropdown" (closes patch #931709)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27134 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-07 10:46:19 +00:00
Robin Dunn
d3b5db4b25 SetInitialBestSize changes for wxMac
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27132 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-07 04:31:12 +00:00
Robin Dunn
35d4c96744 Use wxVisualAttributes (partially #if'd out until tested further.)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27122 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-06 21:01:24 +00:00
Robin Dunn
9d522606d0 Get(Class)DefaultAttributes() for wxGTK controls
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27115 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-06 17:26:25 +00:00
Vadim Zeitlin
d16b634fa3 use ResetClipping() instead of simply setting m_clipping to false; added call to it to wxDCBase::DestroyClippingRegion() so that some ports don't have to define their own version of it at all
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27107 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-05 22:43:57 +00:00
Vadim Zeitlin
2e76da5450 made GetClippingBox() work even for clipping region (pre)set by Windows and not only for clipping regions set using our own SetClippingXXX() functions
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27106 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-05 22:41:54 +00:00
Vadim Zeitlin
2439f37a89 removed non-const accessors for pens, brushes, &c from wxDC
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27103 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-05 21:44:39 +00:00
Robin Dunn
abdeb9e700 Added wxControl::PostCreation for wxGTK. Moved calls to
InheritAttributes and ApplyWidgetStyle there, and added a call to
SetInitialBestSize.   Also removed calls to Show from Create since
PostCreation already does it.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27088 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-04 07:09:32 +00:00
Robin Dunn
6457949e5c Book controls also shouldn't do anything for SetInitialBestSize
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27084 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-04 00:53:19 +00:00
Robin Dunn
7a5a571859 Initial/Best size fixes for wxRadioBox, wxSlider and wxStaticText on wxMSW
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27083 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-03 23:08:55 +00:00
Vadim Zeitlin
929bd5fd5f override SetInitialBestSize() to do nothing (we must add our strings first)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27074 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-03 12:40:29 +00:00
Vadim Zeitlin
085dd1e96f call SetInitialBestSize(), not SetBestSize(), when setting the best size initially
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27073 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-03 12:38:20 +00:00
Vadim Zeitlin
400a9e419b moved SetBestSize() to .cpp file; set min size from it
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27072 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-03 12:33:31 +00:00
Vadim Zeitlin
78361a0e98 moved OnExceptionInMainLoop() in .cpp from header
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27061 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-02 11:16:32 +00:00
Mattia Barbon
e04b7e8e71 Make wxMotif buttons smaller (and nicer) by default,
with the option of reverting to the old behaviour.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27059 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-02 08:14:39 +00:00
Mattia Barbon
961dd75341 Added missing NO_GCC_PRAGMA check.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27057 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-02 08:06:45 +00:00
Robin Dunn
b2ce5e1b27 Implement some base class virtuals to avoid errors related to this not
being a true wxDialog


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27047 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-02 01:55:29 +00:00
Robin Dunn
82b978d70d Reverted last change
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27045 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-01 22:46:38 +00:00
Václav Slavík
9941ff2d65 compilation fixes (apparently, gcc <3.4 didn't validate code in templates that were never used, at least in this case)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27044 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-01 22:13:02 +00:00
Robin Dunn
abdb7725e1 In wxGTK2 the wxMessageDialog is not a real wxDialog so its m_widget
will always be NULL there will be a wxCHECK asserts triggered whenever
calling base class methods that are valid calls (or just ignored) on
other wx ports.  Added a set of macros to be used to test m_widget
that will bypass the wxFAIL if the window is a wxMessageDialog.  This
will silence those asserts if the window is a wxMessageDialog and will
let the method doing the check just be ignored in that case.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27041 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-01 21:29:35 +00:00
Mattia Barbon
6e86701b83 Use new wxHashTable implementation not using keyed wxList
when !WXWIN_COMPATIBILITY_24. It is faster. It is almost 100%
compatible, too, the only difference being Next() return value
type.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27040 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-01 20:59:17 +00:00
Mattia Barbon
0c02f0701e Native wxControl::DoGetBestSize() implementation
using XtQueryGeometry().


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27037 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-01 17:06:08 +00:00
Mattia Barbon
0c05fdf357 MSVC 5 fix.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27036 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-01 17:03:19 +00:00
Mattia Barbon
93d660a411 GCC 3.4 fixes.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27034 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-01 16:56:59 +00:00
Vadim Zeitlin
2d814c19cc use an internal wxFileSystem in wxHtmlListBox so that references to images could be resolved
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27029 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-30 22:44:03 +00:00
Vadim Zeitlin
c096f614b9 made TestDestroy public and virtual
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27027 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-30 21:31:52 +00:00
Dimitri Schoolwerth
015c495184 changed hand cursor to look like Windows' hand cursor
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27014 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-29 20:28:49 +00:00
Stefan Csomor
c567d635a2 precompiled headers changed
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27010 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-29 16:07:19 +00:00
Stefan Csomor
77f2f1d3c2 precompiled headers changed
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27009 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-29 15:38:51 +00:00
Robin Dunn
95561ddfc3 Change SetStringSelection to return bool like in other classes and ports
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26990 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-27 19:59:35 +00:00
Stefan Csomor
2a039701a8 specific workaround for XCODE native
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26984 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-27 17:15:02 +00:00
Stefan Csomor
fc38315b49 cleanup
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26983 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-27 17:13:40 +00:00
Julian Smart
82eda5ecd0 SmartPhone windows are always maximized: Patch 942118
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26982 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-27 13:48:07 +00:00
Stefan Csomor
c2e5616e06 on xcode native we end up with several definitions otherwise
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26967 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-26 05:20:52 +00:00
Stefan Csomor
b2a9a5fbca xcode precompiled headers support
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26965 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-26 04:59:46 +00:00
Václav Slavík
477a623837 removed wxGzipStreams (supported by wxZlibStreams now)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26959 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-25 08:55:57 +00:00
Václav Slavík
1824b08894 removed wxGzipStreams (supported by wxZlibStreams now)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26957 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-25 08:49:19 +00:00
Stefan Csomor
7eb8d1ebd6 always use opaque structs
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26933 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-23 08:54:23 +00:00
Robin Dunn
49826dabe6 Fix wxGTK's menu and menubar so Insert does something other than
always append.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26921 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-22 22:05:52 +00:00
Robin Dunn
d36d8dd7d2 Add SetKind accessor
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26919 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-22 22:02:02 +00:00
Václav Slavík
f2aa588ba5 applied patch 939076: __SMARTPHONE__ define
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26909 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-21 21:03:02 +00:00
Václav Slavík
86b79b93fb added wxRegEx::GetMatchCount (patch 938995)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26904 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-21 20:14:14 +00:00
Stefan Csomor
c3a404b090 added define for Aug 2003 gcc update compatibility with Jaguar
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26903 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-21 19:20:21 +00:00
Vadim Zeitlin
f46f4c86b2 fixed recent modeless dialog breakage caused by removing wxDIALOG_MODAL (wxModelessWindows list doesn't exist any more; wxDialog::SetModal() and IsModalShowing() deperecated)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26896 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-21 12:45:16 +00:00
Julian Smart
960b193e59 Don't use wxUSE_POCKETPC_UI, determine appropriate UI from
SDK defines.
Now creates menubar at bottom of window for PPC.
Window uses default position and size in PPC.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26889 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-20 22:17:24 +00:00
Julian Smart
5614d24d40 Compile fix for eVC++ 4 with PocketPC 2003
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26881 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-20 18:52:01 +00:00
Chris Elliott
01bc475b91 SF patch #938489 (for VC5)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26878 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-20 14:33:33 +00:00
Vadim Zeitlin
3f54c58da2 made Update() virtual
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26877 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-20 13:34:52 +00:00
Chris Elliott
db60d56c59 SF patch #938489
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26876 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-20 13:34:49 +00:00
Julian Smart
b33f7651ae Don't infinitely recurse when setting the child focus. Without
this, nested panels/scrolled windows that work fine on wxGTK, wxMSW
can cause infinite recursion on wxMac


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26868 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-19 14:41:06 +00:00
Vadim Zeitlin
9c9aec6143 removed work around for 16 bit compilers not defining LPTSTR which was breaking Unicode build unless WIN32 was defined
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26852 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-18 12:33:05 +00:00
Robert Roebling
568883a45d Set default dialog style to 0.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26851 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-18 10:32:20 +00:00
Robert Roebling
3851e47918 Applied patch for hiding statusbar.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26850 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-18 10:27:11 +00:00
Stefan Csomor
11c5b47d94 added fix for MSL under Win32 (by Steve Hartwell)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26848 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-18 06:40:18 +00:00
Robin Dunn
245c5d2e02 Make InheritAttributes and ShouldInheritColours public so they can be
called from derived Python classes.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26839 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-17 02:06:11 +00:00
Robin Dunn
7bdfb981a8 Fix or add some DoGetBestSize's
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26837 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-17 02:00:24 +00:00
Vadim Zeitlin
5232d996cd use wx_static_cast() inside wxDynamicCast to catch impossible casts at compile-time instead of run-time
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26832 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-16 10:57:06 +00:00
Vadim Zeitlin
f29fe16932 added and documented wx_const/static_cast<>
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26831 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-16 10:30:07 +00:00
Vadim Zeitlin
4d4f4290ea wxEVT_MOVING = 442, not 4442, in event compatibility mode
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26830 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-16 09:48:06 +00:00
Vadim Zeitlin
df74fdeafd GetChildrenCount() should be const
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26829 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-16 09:44:32 +00:00
Vadim Zeitlin
88eadcf218 changed return type of wxCommandEvent::GetClientObject() to wxClientData * from void * and documented it (patch 918655)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26823 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-15 23:10:08 +00:00
Vadim Zeitlin
5c9f6bf455 use iostream.h and not iostream with OpenWatcom (part of patch 910058)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26822 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-15 23:02:43 +00:00
Vadim Zeitlin
af498247c5 make XTI compile with VC6 (patch 896614)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26820 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-15 22:51:57 +00:00
Vadim Zeitlin
08848c9f95 define _puttchar for mingw32 as it doesn't have it (patch 875611)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26818 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-15 22:34:19 +00:00
Vadim Zeitlin
eb2a7883df show/hide static box when the wxStaticBoxSizer is shown/hidden (replaces patch 897020)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26817 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-15 22:26:09 +00:00
Václav Slavík
af51080d14 commdlg.lib is not in evc3
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26811 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-15 20:12:59 +00:00
Dimitri Schoolwerth
d30ee785c2 made GetAlpha(x, y) const (the docs are already correct)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26786 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-15 16:16:01 +00:00
Dimitri Schoolwerth
22d080f35b improved const-ness of find/Find functions
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26781 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-15 11:05:13 +00:00
Robin Dunn
1eba219387 Added wxSizerItem::SetMinSize that calls m_window->SetSizeHints if not
wxFIXED_MINSIZE, SetInitSize and SetItemMinSize uses SetMinSize, and
fixed [ 934651 ] sizeritem's 'minsize' value has no effect in xrc resources


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26778 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-14 23:45:21 +00:00
Robin Dunn
1ebfafde51 Keep track of the initial size that the window was created with, and
when the window is added to a sizer use that size with SetSizeHints.
This is to fix problems resulting from the previous change where
SetSizeHints was called with the initial size from CreateBase.

Also, Patch [ 934677 ] wxWindowBase::DoGetBestSize() should exclude hidden windows


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26777 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-14 22:40:14 +00:00
David Elliott
70cbdccac9 Quick hack removing wxDIALOG_MODAL
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26775 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-14 16:26:24 +00:00
David Elliott
2c326adae6 Quick hack to rid the code of wxDIALOG_MODAL
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26773 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-14 16:03:53 +00:00
David Elliott
e9ec987a36 Added wxRegion construction from an NSRect or an array of NSRects
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26762 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-14 05:53:50 +00:00
David Elliott
90c108964c Rework modal dialog code to not depend on now obsolete wxDIALOG_MODAL flag.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26759 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-14 05:39:43 +00:00
David Elliott
53dbce2338 wxCocoa: wxRegion using wxRegionGeneric
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26754 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-13 19:45:02 +00:00
David Elliott
4c3c384448 Added wxRegionGeneric and wxRegionIteratorGeneric using X.org code
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26753 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-13 19:38:24 +00:00
David Elliott
c0ccf6a9a3 s/m_clientData/m_itemClientData/ so it doesn't conflict with wxEvtHandler union
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26750 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-13 14:16:48 +00:00
David Elliott
e76d459d94 Make ObjcRelease() return void like [NSObject -release] not type id.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26748 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-13 13:40:08 +00:00
Vadim Zeitlin
2fce94e20c define WS_XXX constants missing in (some) CE SDKs
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26745 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-13 12:25:56 +00:00
Vadim Zeitlin
072c5412c2 removed m_bestSize
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26743 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-13 12:25:05 +00:00
Vadim Zeitlin
8b5ef6cfd2 moved dialog/frame styles to their own headers; don't use any styles by default for TLW under Windows CE
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26742 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-13 12:22:34 +00:00
Vadim Zeitlin
b2d22a3f04 (blind) compilation fix for wxUniv
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26737 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-13 10:44:53 +00:00
Stefan Csomor
2aefa0ef8a adding event construction
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26734 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-13 05:30:20 +00:00
Stefan Csomor
336a6aba60 switching to native focus and control hit handling
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26733 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-13 05:28:25 +00:00
Václav Slavík
9b58bfecd8 aygshell is available on PocketPC and sometimes needed
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26727 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-12 21:00:42 +00:00
David Elliott
af8491078d Change m_windowCurrent to m_currentNSWindow such that m_currentNSWindow is
never used directly but only to look up the associated wxCocoaNSWindow.
If the wxCocoaNSWindow cannot be found later in UpdateMenuBar then it's
likely been destroyed but no crash will result as before.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26720 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-12 04:58:32 +00:00
Václav Slavík
044a69a42d added some cppunit convenience macros (part of patch 924438)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26715 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-11 20:59:26 +00:00
Václav Slavík
4c68a10264 improvements to zlib streams (patch 929416):
1. CanHandleGZip static method
2. code cleanup
3. 2.4 compatibility mode


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26713 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-11 19:34:56 +00:00
Stefan Csomor
1a42f89c41 expose find window method
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26709 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-11 15:23:00 +00:00
Václav Slavík
eddb325043 added wx/msw/wince/libraries.h to workaround SDK differences problems
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26707 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-11 15:14:50 +00:00
Vadim Zeitlin
910b9fc5c0 added GetEncodingFromName(); documented it and rearranged the methods in alphaabetical order
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26703 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-11 10:40:04 +00:00
Vadim Zeitlin
15ad38c34f added support for koi8-u
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26695 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-10 23:43:49 +00:00
Mattia Barbon
f8ca3d720e Avoid virtual function hiding.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26693 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-10 16:07:18 +00:00
David Elliott
256af34f51 Added header preprocessor guard
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26690 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-10 03:54:21 +00:00
David Elliott
15bc1a64a8 Implement a reasonable DoGetBestSize (NSProgressIndicator is not an NSControl)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26689 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-10 03:23:41 +00:00
David Elliott
9a165f54b9 Stub for DoGetBestSize() since this isn't an NSControl
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26688 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-10 03:19:37 +00:00
David Elliott
79e1f224d1 Make DoGetBestSize() always return a width of 100
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26686 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-10 03:11:44 +00:00
David Elliott
0754a4b307 wxCocoa: native wxNotebook
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26680 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-09 20:20:51 +00:00
David Elliott
7848088476 Added files for wxNotebook and wxCocoaNSTabView
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26679 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-09 20:19:06 +00:00
Dimitri Schoolwerth
caafd0821d implemented a simple DoGetBestSize() for MSW's wxScrollBar
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26677 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-09 15:16:46 +00:00
Vadim Zeitlin
fbaddf4482 we can now use png/jpeg/gif
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26671 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-08 12:11:37 +00:00
Vadim Zeitlin
b8e7b6738f 1. moved InheritAttributes() from wxControl to wxWindow
2. made it inherit only the attributes explicitly set for the parent
3. "explicitly set" means set with SetXXX(), not newly added SetDefaultXXX()
4. documented InheritAttributes(), ShouldInheritColours() and SetDefaultXXX()


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26670 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-08 12:11:22 +00:00
Robin Dunn
f52e0cf489 Changed name to wxFIXED_MINSIZE since that is more descriptive of what
it does.  The size can still be changed by the sizer, but it won't
query the minsize if this flag is set.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26665 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-07 23:06:35 +00:00
Robin Dunn
9d17ee60a5 Put back wxMSW's wxStaticBitmap::DoGetBestSize because GetBitmap (used
in base DoGBS) is not able to be called until the control is fully
constructed


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26662 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-07 22:41:34 +00:00
Robin Dunn
595a949307 wxStatusBarGeneric::DoGetBestSize
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26658 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-07 21:48:24 +00:00
Robin Dunn
b3fcfa4d89 wxStaticBitmapBase::DoGetBestSize
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26657 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-07 21:47:04 +00:00
Robin Dunn
caa251e073 Added wxFIXED_SIZE.
Propogated wxSizer::SetItemMinSize to SetSizeHints for window items.
Updated docs for flag parameter to be more readable and understandable.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26644 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-07 19:21:06 +00:00
Robin Dunn
1ec25e8ff7 Added some convenience inlines
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26643 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-07 05:20:58 +00:00
Vadim Zeitlin
b39ba2c2ee use wxUnusedVar() to suppress warnings about unused variable
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26623 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-05 10:51:49 +00:00
Vadim Zeitlin
2a47cb1ba2 don't define SetShape() for Windows CE; use wxTLWBase::GetDefaultSize() to avoid creating too big windows under CE
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26616 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-04 17:27:31 +00:00
Vadim Zeitlin
0c089c0826 added wxTLWBase::GetDefaultSize() to avoid creating windows with default size unsuitable for the current display size
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26615 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-04 17:26:56 +00:00
Vadim Zeitlin
706f14210b added and documented wxSize::IsFullySpecified() and SetDefaults()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26614 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-04 17:24:56 +00:00
Vadim Zeitlin
2aaf17c223 GlobalLock/Unlock() are available under CE, no need to redefine them, it is already done in eVC 4 headers
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26611 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-04 13:02:56 +00:00
Vadim Zeitlin
14d3c9f7b4 include headers normally included from windows.h and shellapi.h under Windows CE
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26610 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-04 13:02:12 +00:00
Vadim Zeitlin
f153c2b611 suppressed unused param warning under CE
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26608 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-04 13:01:18 +00:00
Vadim Zeitlin
fb86251bff do #undef CreateDialog() under CE, what was the reason for not doing it?
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26607 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-04 13:01:00 +00:00
Vadim Zeitlin
fe5c9b3eaf include wince/missing.h under CE
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26606 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-04 13:00:34 +00:00
Vadim Zeitlin
524b59ff2e removed tons of unused stuff apparently copied verbatim from MS headers (argh!!); added bsearch()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26605 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-04 12:59:29 +00:00
Vadim Zeitlin
be69f971c4 enable wxDIB for Windows CE
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26603 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-04 12:57:36 +00:00
Vadim Zeitlin
7c8c7cc23e WinMain() is Unicode under CE (how did this work before?)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26598 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-04 12:54:20 +00:00
Vadim Zeitlin
7b162e540e include wrapwin.h instead of windows.h directly (fixes CE compilation problems)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26597 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-04 12:47:05 +00:00
Václav Slavík
f20275d9c5 WinCE compilation fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26592 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-03 19:03:08 +00:00
Stefan Csomor
f5ea731f5d concentrating content and structure region calculations
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26586 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-03 14:41:34 +00:00
David Elliott
2654f7e423 Make DoGetBestSize cache the value of GetSize() the first time it is called
for the case when the control is a regular window with no children.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26583 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-03 05:16:38 +00:00
David Elliott
fa8114de44 Added wxObjcAutoRef* classes for automatic retain/release of Objective-C objects
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26580 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-02 17:43:59 +00:00
David Elliott
c1d19dfb68 wxCocoa: use generic wxSpinCtrl
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26576 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-01 22:42:53 +00:00
Václav Slavík
0c2d809a72 WinCE SDK doesn't have crtdbg.h
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26569 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-01 19:51:18 +00:00
Julian Smart
c393c74021 Implemented Enable for wxMenuBar to avoid assert
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26563 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-01 19:28:13 +00:00
Vadim Zeitlin
51ce89f1bf removed (well, kept empty shell to avoid breaking existing code) InheritAttributes()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26551 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-01 14:54:07 +00:00
Vadim Zeitlin
c4ca49cde3 implemented GetBestSize()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26549 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-01 13:55:21 +00:00
Vadim Zeitlin
e9cafd4289 use wxFULL_REPAINT_ON_RESIZE only for wxPreviewCanvas, not for the entire wxPreviewFrame -- this eliminates flicker of the control bar, at least
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26537 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-01 11:04:33 +00:00
Stefan Csomor
793921582e added adjustOrigin parameter to bounds calculation, added Freeze and Thaw implementation
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26534 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-01 08:34:18 +00:00
Stefan Csomor
271cad4cf7 added adjustOrigin parameter to bounds calculation
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26533 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-01 08:32:44 +00:00
Václav Slavík
20f46e8dc8 BCC fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26532 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-01 07:17:50 +00:00