Upported mouse click detection change for wxChoice.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21753 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robert Roebling
2003-07-08 11:18:42 +00:00
parent 7244675df4
commit 3a97d2db67
3 changed files with 16 additions and 7 deletions

View File

@@ -38,17 +38,18 @@ class wxPostScriptDC;
class WXDLLEXPORT wxPostScriptDC: public wxDC
{
public:
wxPostScriptDC();
wxPostScriptDC();
// Recommended constructor
wxPostScriptDC(const wxPrintData& printData);
// Recommended constructor
wxPostScriptDC(const wxPrintData& printData);
~wxPostScriptDC();
// Recommended destructor :-)
~wxPostScriptDC();
#if WXWIN_COMPATIBILITY_2_2
wxPostScriptDC( const wxString &output, bool interactive = FALSE, wxWindow *parent = NULL )
{ Create( output, interactive, parent ); }
bool Create ( const wxString &output, bool interactive = FALSE, wxWindow *parent = NULL );
wxPostScriptDC( const wxString &output, bool interactive = FALSE, wxWindow *parent = NULL )
{ Create( output, interactive, parent ); }
bool Create ( const wxString &output, bool interactive = FALSE, wxWindow *parent = NULL );
#endif
virtual bool Ok() const;
@@ -132,6 +133,12 @@ private:
static float ms_PSScaleFactor;
protected:
#if wxUSE_PANGO
PangoContext *m_context;
PangoLayout *m_layout;
PangoFontDescription *m_fontdesc;
#endif
FILE* m_pstream; // PostScript output stream
wxString m_title;
unsigned char m_currentRed;

View File

@@ -69,6 +69,7 @@ protected:
virtual wxSize DoGetBestSize() const;
virtual bool IsOwnGtkWindow( GdkWindow *window );
private:
// common part of Create() and DoAppend()
int GtkAddHelper(GtkWidget *menu, int pos, const wxString& item);

View File

@@ -69,6 +69,7 @@ protected:
virtual wxSize DoGetBestSize() const;
virtual bool IsOwnGtkWindow( GdkWindow *window );
private:
// common part of Create() and DoAppend()
int GtkAddHelper(GtkWidget *menu, int pos, const wxString& item);