Fixed wxSlider95 bug; updated .dsp files; added Set/GetLastDirectory to wxDocManager

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4073 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Julian Smart
1999-10-19 22:18:32 +00:00
parent 8e00741dbd
commit ac0ac8241f
9 changed files with 41 additions and 4 deletions

View File

@@ -375,6 +375,9 @@ public:
virtual void FileHistoryAddFilesToMenu();
virtual void FileHistoryAddFilesToMenu(wxMenu* menu);
inline wxString GetLastDirectory() const { return m_lastDirectory; }
inline void SetLastDirectory(const wxString& dir) { m_lastDirectory = dir; }
protected:
long m_flags;
int m_defaultDocumentNameCounter;
@@ -383,6 +386,7 @@ protected:
wxList m_templates;
wxView* m_currentView;
wxFileHistory* m_fileHistory;
wxString m_lastDirectory;
DECLARE_EVENT_TABLE()
};

View File

@@ -53,7 +53,7 @@ class WXDLLEXPORT wxImage;
class WXDLLEXPORT wxImageHandler: public wxObject
{
DECLARE_DYNAMIC_CLASS(wxImageHandler)
DECLARE_CLASS(wxImageHandler)
public:
wxImageHandler() { m_name = ""; m_extension = ""; m_type = 0; }