git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20057
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
wxVectorBase& operator = (const wxVectorBase& vb)
{
- bool rc = copy(vb);
- wxASSERT(rc);
+ wxCHECK(copy(vb), *this);
return *this;
}
};
cls() {}\
cls(const cls& c)\
{\
- bool rc = copy(c);\
- wxASSERT(rc);\
+ wxCHECK2(copy(c), return);\
}\
~cls()\
{\
public:\
void push_back(const obj& o)\
{\
- bool rc = Alloc(size() + 1);\
- wxASSERT(rc);\
+ wxCHECK2(Alloc(size() + 1), return);\
Append(new obj(o));\
};\
void pop_back()\
{
// the generic version is unused in wxMSW
#ifndef __WIN32__
- wxChar ch;
+ wxChar ch = 0;
int keycode = event.GetKeyCode();
switch ( keycode )
{
static wxString ParseWildCard( const wxString& wild )
{
+#ifdef __WXDEBUG__
static const wxChar* msg =
_T("Motif file dialog does not understand this ")
_T("wildcard syntax");
+#endif
wxStringTokenizer tok( wild, _T("|") );
ArrowDirection d,
const wxPoint& pos, const wxSize& size )
{
- int arrow_dir;
+ int arrow_dir = XmARROW_UP;
switch( d )
{