| Version: 3.1.5

Deprecated List

Member wxApp::MacOpenFile (const wxString &fileName)
  This function is kept mostly for backwards compatibility. Please override wxApp::MacOpenFiles method instead in any new code.
Member wxArchitecture
  Use wxBitness instead.
Member wxArtProvider::Insert (wxArtProvider *provider)
  Use PushBack() instead.
Member wxAuiDefaultDockArt::DrawIcon (wxDC &dc, const wxRect &rect, wxAuiPaneInfo &pane)
  Not intended for the public API.
Member wxBitmap::SetDepth (int depth)
  This function is deprecated since version 3.1.2, dimensions and depth can only be set at construction time.
Member wxBitmap::SetHeight (int height)
  This function is deprecated since version 3.1.2, dimensions and depth can only be set at construction time.
Member wxBitmap::SetWidth (int width)
  This function is deprecated since version 3.1.2, dimensions and depth can only be set at construction time.
Member wxCalendarCtrl::EnableYearChange (bool enable=true)
Member wxComboCtrl::GetTextIndent () const
  Use GetMargins() instead.
Member wxComboCtrl::HidePopup (bool generateEvent=false)
  Use Dismiss() instead.
Member wxComboCtrl::SetTextIndent (int indent)
  Use SetMargins() instead.
Member wxComboCtrl::ShowPopup ()
  Use Popup() instead.
Member wxDataViewCustomRenderer::Activate (wxRect cell, wxDataViewModel *model, const wxDataViewItem &item, unsigned int col)
  Use ActivateCell instead.
Member wxDataViewCustomRenderer::LeftClick (wxPoint cursor, wxRect cell, wxDataViewModel *model, const wxDataViewItem &item, unsigned int col)
  Use ActivateCell instead.
Member wxDebugContext::GetLevel ()
  This is obsolete, replaced by wxLog functionality.
Member wxDebugContext::SetLevel (int level)
  This is obsolete, replaced by wxLog functionality.
Member wxDos2UnixFilename (wxChar *s)
  Construct a wxFileName with wxPATH_DOS and then use wxFileName::GetFullPath(wxPATH_UNIX) instead.
Member wxFileNameFromPath (const wxString &path)
  This function is obsolete, please use wxFileName::SplitPath() instead.
Member wxFindWindowByLabel (const wxString &label, wxWindow *parent=NULL)
  Replaced by wxWindow::FindWindowByLabel().
Member wxFindWindowByName (const wxString &name, wxWindow *parent=NULL)
  Replaced by wxWindow::FindWindowByName().
Member wxGetEmailAddress (char *buf, int sz)
  Use wxGetEmailAddress() instead.
Member wxGetHostName (char *buf, int sz)
  Use wxGetHostName() instead.
Member wxGetTempFileName (const wxString &prefix, char *buf=NULL)
  This function is obsolete, please use wxFileName::CreateTempFileName() instead.
Member wxGetUserId (char *buf, int sz)
  Use wxGetUserId() instead.
Member wxGetUserName (char *buf, int sz)
  Use wxGetUserName() instead.
Member wxGetWorkingDirectory (char *buf=NULL, int sz=1000)
  This function is deprecated, use wxGetCwd() instead.
Member wxGrid::SetCellAlignment (int align, int row, int col)
  Please use SetCellAlignment(row, col, horiz, vert) instead.
Member wxGrid::SetCellTextColour (const wxColour &val, int row, int col)
  Please use SetCellTextColour(row, col, colour)
Member wxGrid::SetCellTextColour (const wxColour &colour)
  Please use SetDefaultCellTextColour(colour) instead.
Member wxGrid::SetCellValue (const wxString &val, int row, int col)
  Please use SetCellValue(int,int,const wxString&) or SetCellValue(const wxGridCellCoords&,const wxString&) instead.
Class wxHashTable
  Please note that this class is retained for backward compatibility reasons; you should use wxHashMap.
Member wxHelpControllerBase::DisplayBlock (long blockNo)=0
  This function is for backward compatibility only, and applications should use DisplaySection() instead.
Member wxHtmlTag::GetBeginPos () const

Member wxHtmlTag::GetEndPos1 () const

Member wxHtmlTag::GetEndPos2 () const

Member wxIconizeEvent::Iconized () const
  This function is deprecated in favour of IsIconized().
Member wxList< T >::Nth (int n) const
  This function is deprecated, use Item() instead.
Member wxList< T >::Number () const
  This function is deprecated, use wxList::GetCount instead. Returns the number of elements in the list.
Member wxLocale::Init (const wxString &name, const wxString &shortName=wxEmptyString, const wxString &locale=wxEmptyString, bool bLoadDefault=true)
  This form is deprecated, use the other one unless you know what you are doing.
Member wxLogFormatter::FormatTime (time_t time) const
  This function only exists for compatibility, please override FormatTimeMS() in the new code.
Member wxLogRecordInfo::timestamp
  Please use timestampMS instead.
Member wxLogTrace (wxTraceMask mask, const char *formatString,...)
  This version of wxLogTrace() only logs the message if all the bits corresponding to the mask are set in the wxLog trace mask which can be set by calling wxLog::SetTraceMask(). This version is less flexible than wxLogTrace(const char*,const char*,...) because it doesn't allow defining the user trace masks easily. This is why it is deprecated in favour of using string trace masks.
Member wxMBConv::MB2WC (wchar_t *out, const char *in, size_t outLen) const
  This function is deprecated, please use ToWChar() instead.
Member wxMBConv::WC2MB (char *buf, const wchar_t *psz, size_t n) const
  This function is deprecated, please use FromWChar() instead.
Member wxMenu::Append (int id, const wxString &item, wxMenu *subMenu, const wxString &helpString=wxEmptyString)
  This function is deprecated, use AppendSubMenu() instead.
Member wxMenuBar::GetLabelTop (size_t pos) const
  This function is deprecated in favour of GetMenuLabel() and GetMenuLabelText().
Member wxMenuBar::SetLabelTop (size_t pos, const wxString &label)
  This function has been deprecated in favour of SetMenuLabel().
Member wxMenuItem::GetLabel () const
  This function is deprecated in favour of GetItemLabelText().
Member wxMenuItem::GetLabelFromText (const wxString &text)
  This function is deprecated; please use GetLabelText() instead.
Member wxMenuItem::GetName () const
  This function is deprecated. Please use GetItemLabel() or GetItemLabelText() instead.
Member wxMenuItem::GetText () const
  This function is deprecated in favour of GetItemLabel().
Member wxMenuItem::SetText (const wxString &text)
  This function is deprecated in favour of SetItemLabel().
Member wxNewId ()
  Ids generated by it can conflict with the Ids defined by the user code, use `wxID_ANY` to assign ids which are guaranteed to not conflict with the user-defined ids for the controls and menu items you create instead of using this function.
Member wxPGProperty::AddChild (wxPGProperty *prop)
  Use AddPrivateChild() instead.
Member wxPGProperty::GetValueString (int argFlags=0) const
  Use GetValueAsString() instead.
Member wxPlatformInfo::GetArch (const wxString &arch)
  Use GetBitness() instead.
Member wxPlatformInfo::GetArchitecture () const
  Use GetBitness() instead.
Member wxPlatformInfo::GetArchName (wxArchitecture arch)
  Use GetBitnessName() instead.
Member wxPlatformInfo::GetArchName () const
  Use GetBitnessName() instead.
Member wxPlatformInfo::SetArchitecture (wxArchitecture n)
  Use SetBitness() instead.
Member wxPostDelete (wxObject *object)
  Replaced by wxWindow::Close(). See the window deletion overview.
Member wxPrintDialogData::SetSetupDialog (bool flag)
  This function has been deprecated since version 2.5.4.
Member wxPrinter::Setup (wxWindow *parent)
  The setup dialog is obsolete, though retained for backward compatibility.
Member wxShowEvent::GetShow () const
  This function is deprecated in favour of IsShown().
Member wxSizer::Remove (wxWindow *window)
  The overload of this method taking a wxWindow* parameter is deprecated as it does not destroy the window as would usually be expected from Remove(). You should use Detach() in new code instead. There is currently no wxSizer method that will both detach and destroy a wxWindow item.
Member wxSizer::SetVirtualSizeHints (wxWindow *window)
  This is exactly the same as FitInside() in wxWidgets 2.9 and later, please replace calls to it with FitInside().
Member wxSizerItem::SetSizer (wxSizer *sizer)
  This function does not free the old sizer which may result in memory leaks, use AssignSizer() which does free it instead.
Member wxSizerItem::SetSpacer (const wxSize &size)
  This function does not free the old spacer which may result in memory leaks, use AssignSpacer() which does free it instead.
Member wxSizerItem::SetWindow (wxWindow *window)

Member wxSocketBase::LastCount () const
  This function is kept mostly for backwards compatibility. Use LastReadCount() or LastWriteCount() instead. LastCount() is still needed for use with less commonly used functions: Discard(), Peek(), and Unread().
Member wxSplitPath (const wxString &fullname, wxString *path, wxString *name, wxString *ext)
  This function is obsolete, please use wxFileName::SplitPath() instead.
Member wxSTC_INDIC0_MASK
Member wxSTC_INDIC1_MASK
Member wxSTC_INDIC2_MASK
Member wxSTC_INDICS_MASK
Member wxStreamBuffer::Stream ()
  use GetStream() instead
Member wxStyledTextCtrl::GetStyleBits () const
Member wxStyledTextCtrl::GetStyleBitsNeeded () const
Member wxStyledTextCtrl::SetStyleBits (int bits)
Member wxStyledTextEvent::GetDragText ()
  Use GetString() instead.
Member wxStyledTextEvent::GetText () const
  Use GetString() instead.
Member wxStyledTextEvent::SetDragText (const wxString &val)
Member wxStyledTextEvent::SetText (const wxString &t)
Member wxTextInputStream::ReadString ()
  Use ReadLine() or ReadWord() instead.
Member wxThreadHelper::Create (unsigned int stackSize=0)
  Use CreateThread() instead.
Member wxToolBar::OnRightClick (int toolId, long x, long y)
  This is the old way of detecting tool right clicks; although it will still work, you should use the EVT_TOOL_RCLICKED() macro instead.
Member wxTrace (const wxString &format,...)
  Use one of the wxLogTrace() functions or one of the wxVLogTrace() functions instead.
Member WXTRACE (format,...)
  Use one of the wxLogTrace() functions or one of the wxVLogTrace() functions instead.
Member WXTRACELEVEL (level, format,...)
  Use one of the wxLogTrace() functions or one of the wxVLogTrace() functions instead.
Member wxTraceLevel (int level, const wxString &format,...)
  Use one of the wxLogTrace() functions or one of the wxVLogTrace() functions instead.
Member wxUnix2DosFilename (wxChar *s)
  Construct a wxFileName with wxPATH_UNIX and then use wxFileName::GetFullPath(wxPATH_DOS) instead.
Member wxUsleep (unsigned long milliseconds)
  This function is deprecated because its name is misleading: notice that the argument is in milliseconds, not microseconds. Please use either wxMilliSleep() or wxMicroSleep() depending on the resolution you need.
Member wxWebViewIE::MSWSetModernEmulationLevel (bool modernLevel=true)
  This function is kept mostly for backwards compatibility.
Member wxWindow::SetInitialBestSize (const wxSize &size)
  Use SetInitialSize() instead.
Member wxWindow::SetPalette (const wxPalette &pal)
  use wxDC::SetPalette instead.