Leftover changes for sample doc improvements in ticket #9582 (most of the patch was applied already in r54310).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54312 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -167,12 +167,14 @@ ALIASES += endWxPythonOnly="\endif"
|
|||||||
ALIASES += leftCurly="{"
|
ALIASES += leftCurly="{"
|
||||||
ALIASES += rightCurly="}"
|
ALIASES += rightCurly="}"
|
||||||
|
|
||||||
|
# Sample documentation related aliases
|
||||||
# For indicating the a directory containing a sample
|
# For indicating the a directory containing a sample
|
||||||
ALIASES += sampledir{1}="\verbatim Location: samples/\1\endverbatim"
|
ALIASES += sampledir{1}="\verbatim Location: samples/\1\endverbatim"
|
||||||
# For refering to a sample introduction in a class document or a overview
|
# For refering to the corresponding sample in a class document or a overview
|
||||||
# Usually placed in the queue of @see
|
# Usually placed in the queue of @see
|
||||||
ALIASES += sample{1}="\ref page_samples_\1"
|
ALIASES += sample{1}="\ref page_samples_\1"
|
||||||
# For generating a general description for a sample by associating it with a class
|
# For generating a general description for a sample
|
||||||
|
# \1 could be a class or an overview or a descriptive sentence
|
||||||
# Shall be replaced by manual written description soon
|
# Shall be replaced by manual written description soon
|
||||||
ALIASES += sampleabout{1}="This sample demonstrates \1."
|
ALIASES += sampleabout{1}="This sample demonstrates \1."
|
||||||
# For indicating the necessary condition of a sample or a class
|
# For indicating the necessary condition of a sample or a class
|
||||||
|
@@ -202,7 +202,8 @@ void SimpleTransientPopup::OnMouse(wxMouseEvent &event)
|
|||||||
if (rect.Contains(event.GetPosition()))
|
if (rect.Contains(event.GetPosition()))
|
||||||
{
|
{
|
||||||
colour = wxSystemSettings::GetColour(wxSYS_COLOUR_HIGHLIGHT);
|
colour = wxSystemSettings::GetColour(wxSYS_COLOUR_HIGHLIGHT);
|
||||||
wxLogMessage( wxT("0x%lx SimpleTransientPopup::OnMouse pos(%d, %d)"), long(event.GetEventObject()), event.GetX(), event.GetY());
|
wxLogMessage( wxT("0x%lx SimpleTransientPopup::OnMouse pos(%d, %d)"),
|
||||||
|
long(event.GetEventObject()), event.GetX(), event.GetY());
|
||||||
}
|
}
|
||||||
|
|
||||||
if (colour != m_mouseText->GetBackgroundColour())
|
if (colour != m_mouseText->GetBackgroundColour())
|
||||||
@@ -228,7 +229,8 @@ void SimpleTransientPopup::OnButton(wxCommandEvent& event)
|
|||||||
|
|
||||||
void SimpleTransientPopup::OnSpinCtrl(wxSpinEvent& event)
|
void SimpleTransientPopup::OnSpinCtrl(wxSpinEvent& event)
|
||||||
{
|
{
|
||||||
wxLogMessage( wxT("0x%lx SimpleTransientPopup::OnSpinCtrl ID %d Value %d"), long(this), event.GetId(), event.GetInt());
|
wxLogMessage( wxT("0x%lx SimpleTransientPopup::OnSpinCtrl ID %d Value %d"),
|
||||||
|
long(this), event.GetId(), event.GetInt());
|
||||||
event.Skip();
|
event.Skip();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user