wxFLAGS_MEMBER(wxBORDER_RAISED)
wxFLAGS_MEMBER(wxBORDER_STATIC)
wxFLAGS_MEMBER(wxBORDER_NONE)
-
+
// old style border flags
wxFLAGS_MEMBER(wxSIMPLE_BORDER)
wxFLAGS_MEMBER(wxSUNKEN_BORDER)
m_marginY = wxDEFAULT_BUTTON_MARGIN;
}
- if (id == -1)
+ if (id == wxID_ANY)
m_windowId = NewControlId();
else
m_windowId = id;