my $choices = [ 'This', 'is one of my',  'really', 'wonderful', 'examples', ];
my $combo = Wx::BitmapComboBox->new($self,-1,"This",[2,2],[10,10],$choices );

############################################################################
#First Step 

    my $PopupControl = $combo->GetPopupControl();

   #There ---------- wxComboPopup::GetControl
          $PopupControl->GetControl();

#=================ERROR
  Can't locate object method "GetControl" via package "Wx::ComboPopup" at ...

############################################################################
#Try To Another

   my $PopupControl = $combo->GetPopupControl();
   my $rectIem = Wx::Rect->new(0, 0, -1, -1);

   my $dc00 = Wx::MemoryDC->new();
        # ...


  #There ----------wxComboPopup::PaintComboControl
     $PopupControl->PaintComboControl($dc00, $rectIem);

#=================ERROR
    variable is not of type Wx::PlComboPopup at ...

----------------------------------------------------------------------------------------------------------------------------------------------------------------

Thanks, Regards Gnome.



      
____________________________________________________________________________________
Be a better friend, newshound, and 
know-it-all with Yahoo! Mobile.  Try it now.  
http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ

Reply via email to