Add some verification to SearchPanel & wxID_ANY in place of -1
This commit is contained in:
@@ -22,7 +22,7 @@ along with KissCount. If not, see <http://www.gnu.org/licenses/>.
|
||||
wxString months[12] ;
|
||||
|
||||
wxUI::wxUI(KissCount* kiss, const wxString& title, const wxPoint& pos, const wxSize& size)
|
||||
: wxFrame(NULL, -1, title, pos, size), _kiss(kiss), _accountPanel(NULL), _searchPanel(NULL), _preferencesPanel(NULL),
|
||||
: wxFrame(NULL, wxID_ANY, title, pos, size), _kiss(kiss), _accountPanel(NULL), _searchPanel(NULL), _preferencesPanel(NULL),
|
||||
_curPanel(NULL), _locale(NULL), _needReload(false)
|
||||
{
|
||||
_hbox = new wxBoxSizer(wxVERTICAL);
|
||||
|
||||
Reference in New Issue
Block a user