-1->wxID_ANY, TRUE->true, FALSE->false and tabs replacements. Correct help system in non MSW builds of OGL-Studio sample.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27708 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -6,7 +6,7 @@
|
||||
// Created: 12/07/98
|
||||
// RCS-ID: $Id$
|
||||
// Copyright: (c) Julian Smart
|
||||
// Licence: wxWindows licence
|
||||
// Licence: wxWindows licence
|
||||
/////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
#ifndef _STUDIO_VIEW_H_
|
||||
@@ -25,7 +25,7 @@ class csCanvas: public wxShapeCanvas
|
||||
DECLARE_CLASS(csCanvas)
|
||||
public:
|
||||
|
||||
csCanvas(csDiagramView *view, wxWindow *parent = NULL, wxWindowID id = -1,
|
||||
csCanvas(csDiagramView *view, wxWindow *parent = NULL, wxWindowID id = wxID_ANY,
|
||||
const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxDefaultSize,
|
||||
long style = wxRETAINED);
|
||||
~csCanvas(void);
|
||||
@@ -65,7 +65,7 @@ class csDiagramView: public wxView
|
||||
bool OnCreate(wxDocument *doc, long flags);
|
||||
void OnDraw(wxDC *dc);
|
||||
void OnUpdate(wxView *sender, wxObject *hint = NULL);
|
||||
bool OnClose(bool deleteWindow = TRUE);
|
||||
bool OnClose(bool deleteWindow = true);
|
||||
void OnSelectAll(wxCommandEvent& event);
|
||||
|
||||
wxShape *FindFirstSelectedShape(void);
|
||||
@@ -95,7 +95,7 @@ class csDiagramView: public wxView
|
||||
void DoCmd(wxList& shapes, wxList& oldShapes, int cmd, const wxString& op);
|
||||
|
||||
// Select or deselect all
|
||||
void SelectAll(bool select = TRUE);
|
||||
void SelectAll(bool select = true);
|
||||
|
||||
// Event handlers
|
||||
void OnCut(wxCommandEvent& event);
|
||||
|
Reference in New Issue
Block a user