const/void changes in thread, tabctrl and wave files; wxTabCtrl::InsertItem

now returns bool not int.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@93 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Julian Smart
1998-06-14 12:15:13 +00:00
parent eaaa6a06a2
commit ee4f8c2af9
13 changed files with 187 additions and 183 deletions

View File

@@ -16,22 +16,22 @@
#pragma interface "wave.h"
#endif
#include <wx/object.h>
#include "wx/object.h"
class wxWave : public wxObject
{
public:
wxWave(void);
wxWave();
wxWave(const wxString& fileName, bool isResource = FALSE);
~wxWave(void);
~wxWave();
public:
bool Create(const wxString& sFileName, bool isResource = FALSE);
bool IsOk(void) const { return (m_waveData ? TRUE : FALSE); };
bool Create(const wxString& fileName, bool isResource = FALSE);
bool IsOk() const { return (m_waveData ? TRUE : FALSE); };
bool Play(bool async = TRUE, bool looped = FALSE) const;
protected:
bool Free(void);
bool Free();
private:
byte* m_waveData;