Ejemplo n.º 1
0
wxStatusBarBase::wxStatusBarBase()
{
    m_nFields = 0;

    InitWidths();
    InitStacks();
    InitStyles();
}
Ejemplo n.º 2
0
GitCommitEditor::GitCommitEditor(wxWindow* parent,
                                 wxWindowID id,
                                 const wxPoint& position,
                                 const wxSize& size,
                                 long style)
    : wxStyledTextCtrl(parent, id, position, size, style | wxBORDER_THEME)
{
    InitStyles();
}
Ejemplo n.º 3
0
	void OutputWindow::OnLoad()
	{
		_hScintilla = (HWND)::SendMessageW(_hNpp, NPPM_CREATESCINTILLAHANDLE, 0, (LPARAM)_hWindow);
		if (!_hScintilla)
		{
			throw gcnew NppException("Failed to create scintilla window for output.");
		}

		::SendMessageA(_hScintilla, SCI_USEPOPUP, 0, 0);
		::SendMessageA(_hScintilla, SCI_SETREADONLY, 1, 0);
		::SendMessageA(_hScintilla, SCI_SETCODEPAGE, SC_CP_UTF8, 0);

		RECT clientRect;
		::GetClientRect(_hWindow, &clientRect);
		OnResize(clientRect.right - clientRect.left, clientRect.bottom - clientRect.top);

		::ShowWindow(_hScintilla, SW_SHOW);

		InitStyles();
		ProcessQueue();
	}
Ejemplo n.º 4
0
void QHTM_StylesStartup()
{
	InitStyles();
}